Skip to content

Commit

Permalink
let bundle accept version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 8, 2023
1 parent 5ec725e commit 3e39c95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: createVersion
run: |
echo "VERSION=$(git describe --tag --always)" >> $GITHUB_ENV
echo "CLEAN_VERSION=$(git describe --tag --always | sed s/^v//)" >> $GITHUB_ENV
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v2.2.0
Expand All @@ -35,4 +36,4 @@ jobs:

- name: build and push
run: |
make docker-buildx bundle bundle-build bundle-push IMG=ghcr.io/${{ github.repository }}:${{ env.VERSION }}
make docker-buildx bundle bundle-build bundle-push IMG=ghcr.io/${{ github.repository }}:${{ env.CLEAN_VERSION }}

0 comments on commit 3e39c95

Please sign in to comment.