From be1c28015c2b2198e718ab098e2fecc697344aaa Mon Sep 17 00:00:00 2001 From: Gabriel Barros Date: Wed, 26 Jun 2024 13:55:32 +0100 Subject: [PATCH] Changes docker target file in github CI --- .github/workflows/development.yml | 2 +- .github/workflows/latest.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/staging.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index ca2e7bf355..5df31f82cf 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -87,7 +87,7 @@ jobs: - name: Copy target to docker context run: | mkdir -p docker/target - cp -r roda-ui/roda-wui/target/roda-wui-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)/* docker/target + cp -r roda-ui/roda-wui/target/roda-wui-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout).war docker/target - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml index c5bc89c7ef..bd7eab5e3e 100644 --- a/.github/workflows/latest.yml +++ b/.github/workflows/latest.yml @@ -70,7 +70,7 @@ jobs: - name: Copy target to docker context run: | mkdir -p docker/target - cp -r roda-ui/roda-wui/target/roda-wui-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)/* docker/target + cp -r roda-ui/roda-wui/target/roda-wui-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout).war docker/target - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a01403812..36e06025b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: - name: Copy target to docker context run: | mkdir -p docker/target - cp -r roda-ui/roda-wui/target/roda-wui-${{ env.release_version }}/* docker/target + cp -r roda-ui/roda-wui/target/roda-wui-${{ env.release_version }}.war docker/target - name: Docker meta id: meta uses: docker/metadata-action@v5 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 17dc201dc5..dd3c2770dc 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -67,7 +67,7 @@ jobs: - name: Copy target to docker context run: | mkdir -p docker/target - cp -r roda-ui/roda-wui/target/roda-wui-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)/* docker/target + cp -r roda-ui/roda-wui/target/roda-wui-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout).war docker/target - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: