mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(ci): only tag latest on release (#10053)
This fixes an issue introduced when we moved to GHCR hosting where the `latest` tag was being applied to each `main` build of the `client` and `gateway` instead of publish builds only.
This commit is contained in:
2
.github/workflows/_build_artifacts.yml
vendored
2
.github/workflows/_build_artifacts.yml
vendored
@@ -333,7 +333,6 @@ jobs:
|
||||
images: ${{ steps.login.outputs.registry }}/firezone/${{ matrix.image_prefix && format('{0}/', matrix.image_prefix) || '' }}${{ matrix.name.image_name }}
|
||||
# We only version client and gateway
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=raw,value={{branch}}
|
||||
type=raw,value=${{ inputs.sha }}
|
||||
- name: Sanitize github.ref_name
|
||||
@@ -424,7 +423,6 @@ jobs:
|
||||
with:
|
||||
images: ${{ steps.login.outputs.registry }}/firezone/${{ matrix.image_prefix && format('{0}/', matrix.image_prefix) || '' }}${{ matrix.image.name }}
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=raw,value={{branch}}
|
||||
type=raw,value=${{ inputs.sha }}
|
||||
- name: Create manifest list and push
|
||||
|
||||
Reference in New Issue
Block a user