mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
ci(fix): replace more invalid ref chars (#4687)
https://github.com/firezone/firezone/actions/runs/8741173474/job/23986580117 --------- Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
8
.github/workflows/_build_artifacts.yml
vendored
8
.github/workflows/_build_artifacts.yml
vendored
@@ -100,9 +100,9 @@ jobs:
|
||||
type=raw,value=${{ env.VERSION }}-${{ inputs.sha }}
|
||||
- name: Sanitize github.ref_name
|
||||
run: |
|
||||
# `ref_name` contains `/` which is not a valid docker image tag
|
||||
# `ref_name` contains `/`, '_' or '=' which is not a valid docker image tag
|
||||
REF="${{ github.ref_name }}"
|
||||
CACHE_TAG="${REF//\//-}"
|
||||
CACHE_TAG="${REF//[\/_=]/-}"
|
||||
echo "CACHE_TAG=$CACHE_TAG" >> "$GITHUB_ENV"
|
||||
- name: Build and push control plane images
|
||||
id: build
|
||||
@@ -260,9 +260,9 @@ jobs:
|
||||
type=raw,value=${{ env.MAJOR_MINOR_VERSION }}
|
||||
- name: Sanitize github.ref_name
|
||||
run: |
|
||||
# `ref_name` contains `/` which is not a valid docker image tag
|
||||
# `ref_name` contains `/`, '_' or '=' which is not a valid docker image tag
|
||||
REF="${{ github.ref_name }}"
|
||||
CACHE_TAG="${REF//\//-}"
|
||||
CACHE_TAG="${REF//[\/_=]/-}"
|
||||
echo "CACHE_TAG=$CACHE_TAG" >> "$GITHUB_ENV"
|
||||
- name: Build Docker images
|
||||
id: build
|
||||
|
||||
Reference in New Issue
Block a user