Skip to content

Commit

Permalink
using github.ref_name for tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Aug 2, 2023
1 parent 35073e5 commit 85ce192
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ jobs:
ETOPO_RES=${{ matrix.res }}
ETOPO_VERSION=${{ matrix.version }}
ETOPO_SURFACE=${{ matrix.surface }}
VERSION=${{ github.event.release.tag_name }}
VERSION=${{ github.ref_name }}
tags: |
${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}-v${{ github.event.release.tag_name }}
${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}-v${{ github.ref_name }}
${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}-${{ env.REPOSITORY_SHA }}
${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}
${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}
ghcr.io/${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}-v${{ github.event.release.tag_name }}
ghcr.io/${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}-v${{ github.ref_name }}
ghcr.io/${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}-${{ env.REPOSITORY_SHA }}
ghcr.io/${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}-${{ matrix.res }}
ghcr.io/${{ env.REPOSITORY_PATH }}:${{ matrix.surface }}
4 changes: 2 additions & 2 deletions .github/workflows/release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
with:
draft: false
prerelease: false
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
tag_name: ${{ github.ref_name }}
release_name: v${{ github.ref_name }}
body_path: CHANGELOG.md
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.18 (2023-08-02)

* update release to use github.ref_name

# 1.2.17 (2023-06-01)

* set description label
Expand Down

0 comments on commit 85ce192

Please sign in to comment.