Skip to content

Commit

Permalink
include version tag in release again
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Sep 2, 2024
1 parent 1122349 commit a0ed8f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-an-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
PUSH_TAG:
required: true
type: string
EXTRA_TAG:
required: false
type: string

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -66,6 +69,6 @@ jobs:
# txpipe-dev
# txpipe-dev:latest
# txpipe-dev:<the date, e.g. 2023-03-21>
tags: ${{ inputs.PUSH_TAG }},${{ inputs.PUSH_TAG }}:latest,${{ inputs.PUSH_TAG }}:${{ steps.release_info.outputs.date }},${{ inputs.PUSH_TAG }}:${{ github.sha }}
tags: ${{ inputs.EXTRA_TAG }}${{ inputs.PUSH_TAG }},${{ inputs.PUSH_TAG }}:latest,${{ inputs.PUSH_TAG }}:${{ steps.release_info.outputs.date }},${{ inputs.PUSH_TAG }}:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 2 additions & 0 deletions .github/workflows/build-production-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ jobs:
BUILD_DIR: ./txpipe
TEST_TAG: lsstdesc/txpipe:latest
PUSH_TAG: ghcr.io/lsstdesc/txpipe
# need the comma at the end of this
EXTRA_TAG: ghcr.io/lsstdesc/txpipe:${{ github.event.release.tag_name }},

0 comments on commit a0ed8f5

Please sign in to comment.