Skip to content

Commit

Permalink
Update Docker build workflow to use actions/checkout@v4 and enable se…
Browse files Browse the repository at this point in the history
…mantic versioning for tags
  • Loading branch information
kalwalt committed Nov 16, 2024
1 parent 4b5332a commit 8a4b180
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: pre-step
shell: bash
run: echo "release-version=$(echo ${GITHUB_REF:10})" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: webarkit/nft-marker-creator-app
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ steps.pre-step.outputs.release-version }}"
tag_semver: true

0 comments on commit 8a4b180

Please sign in to comment.