diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 29a9fd3..b47ce57 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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 }} diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 0fbefe1..714b4dc 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index f4b215e..07e43d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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