Skip to content

Commit

Permalink
dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 8, 2023
1 parent d3e1659 commit 1868bb6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- uses: actions/checkout@v4.0.0
with:
fetch-depth: 0
- name: createVersion
run: |
echo "VERSION=$(git describe --tag --always)" >> $GITHUB_ENV
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v2.2.0
with:
Expand All @@ -29,4 +33,4 @@ jobs:

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

0 comments on commit 1868bb6

Please sign in to comment.