diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 18f27db2..cc41834a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -89,7 +89,7 @@ jobs: provisioning-mock/target/*.jar server/target/*.jar welcome/build/ - retention: 1 + retention-days: 1 dockerbuild: permissions: @@ -125,6 +125,12 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + + - name: Echo version + env: + VERSION: ${{ needs.deployment.outputs.version }} + run: | + echo $VERSION - name: Set docker labels and tags id: meta @@ -137,7 +143,7 @@ jobs: latest=false tags: | type=ref,event=tag - type=semver,pattern={{version}},value=$VERSION + type=semver,pattern={{version}},value=${VERSION} type=sha - name: Build and push the ${{ matrix.app }} image