mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-11 00:26:31 -04:00
build: extract github.ref_name expression to env mapping (#10624)
Signed-off-by: Chris Nyhuis <cnyhuis@vigilantnow.com>
This commit is contained in:
4
.github/workflows/build-syncthing.yaml
vendored
4
.github/workflows/build-syncthing.yaml
vendored
@@ -1062,7 +1062,7 @@ jobs:
|
||||
run: |
|
||||
version=${VERSION#v}
|
||||
repo=ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
|
||||
ref="${{github.ref_name}}"
|
||||
ref="${REF_NAME}"
|
||||
ref=${ref//\//-} # slashes to dashes
|
||||
|
||||
# List of tags for ghcr.io
|
||||
@@ -1081,6 +1081,8 @@ jobs:
|
||||
echo Pushing to $tags
|
||||
echo "DOCKER_TAGS=$tags" >> $GITHUB_ENV
|
||||
|
||||
env:
|
||||
REF_NAME: ${{github.ref_name}}
|
||||
- name: Prepare context dir
|
||||
run: |
|
||||
mkdir ctx
|
||||
|
||||
Reference in New Issue
Block a user