Skip to content

Commit

Permalink
Update docker tag convention to follow other repos. (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb authored Sep 1, 2023
1 parent d91d6a5 commit 6cc8a45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
id: get_release_tags
run: |
echo "RELEASE_TAG=$(echo ${GITHUB_REF} | sed -E 's/.*v?([0-9]+)\.([0-9]+)\.([0-9]+)?/\1.\2.\3,\1.\2,\1/')" >> $GITHUB_ENV
echo "TAG=stable" >> $GITHUB_ENV
echo "TAG=latest" >> $GITHUB_ENV
if: github.event_name == 'release'

- name: Get Push Tags
id: get_push_tags
run: |
echo "RELEASE_TAG=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
echo "TAG=latest" >> $GITHUB_ENV
echo "TAG=nightly" >> $GITHUB_ENV
if: github.event_name == 'push'

- name: Publish to Docker Hub
Expand Down

0 comments on commit 6cc8a45

Please sign in to comment.