File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 51
51
ref_without_tag=ghcr.io/triggerdotdev/trigger.dev
52
52
image_tags=$ref_without_tag:${{ steps.get_version.outputs.version }}
53
53
54
- # if it's a versioned tag, also tag it as latest
54
+ # if it's a versioned tag, also tag it as v3
55
55
if [[ "${{ github.ref_name }}" == v.docker.* ]]; then
56
- image_tags=$image_tags,$ref_without_tag:latest
56
+ image_tags=$image_tags,$ref_without_tag:v3
57
57
fi
58
58
59
59
echo "IMAGE_TAGS=${image_tags}" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change @@ -111,11 +111,11 @@ jobs:
111
111
REPOSITORY : ${{ steps.prep.outputs.REPOSITORY }}
112
112
IMAGE_TAG : ${{ steps.prep.outputs.IMAGE_TAG }}
113
113
114
- - name : 🐙 Push 'latest' to GitHub Container Registry
114
+ - name : 🐙 Push 'v3' tag to GitHub Container Registry
115
115
if : startsWith(github.ref_name, 'v.docker.')
116
116
run : |
117
- docker tag infra_image $REGISTRY/$REPOSITORY:latest
118
- docker push $REGISTRY/$REPOSITORY:latest
117
+ docker tag infra_image $REGISTRY/$REPOSITORY:v3
118
+ docker push $REGISTRY/$REPOSITORY:v3
119
119
env :
120
120
REGISTRY : ghcr.io/triggerdotdev
121
121
REPOSITORY : ${{ steps.prep.outputs.REPOSITORY }}
You can’t perform that action at this time.
0 commit comments