Skip to content

Commit

Permalink
Remove version tag prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
haatveit committed Mar 14, 2024
1 parent 630f1ab commit 61f48dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,16 @@ jobs:
run: |
curl -sL https://raw.githubusercontent.com/unioslo/pg-iam/master/Dockerfile -o Dockerfile
curl -sL https://raw.githubusercontent.com/unioslo/pg-iam/master/install.sh -o install.sh
- name: Remove tag prefix
id: tag
run: |
export TAG=${{ matrix.tag }}
echo "TAG=${TAG:1}" >> $GITHUB_OUTPUT
- name: Build and push container image
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ env.QEMU_PLATFORMS }}
file: "Dockerfile"
push: true
tags: ghcr.io/unioslo/pg-iam:${{ matrix.tag }}
tags: ghcr.io/unioslo/pg-iam:${{ steps.tag.outputs.TAG }}

0 comments on commit 61f48dc

Please sign in to comment.