mirror of
https://github.com/bplein/factorio-docker.git
synced 2024-11-24 08:42:31 +02:00
Update docker-publish-github.yml
This commit is contained in:
parent
139c318920
commit
9c8ab45915
4
.github/workflows/docker-publish-github.yml
vendored
4
.github/workflows/docker-publish-github.yml
vendored
@ -73,7 +73,7 @@ jobs:
|
|||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
TAGS=$((<buildinfo.json jq -r '.[] | .tags | select( index("latest"))|.[]| @sh')| tr '\n' ','| tr -d \'|sed 's/\(.*\),/\1 /')
|
TAGS=$((<buildinfo.json jq -r '.[] | .tags | select( index("latest"))|.[]| @sh')| tr '\n' ','| tr -d \'|sed 's/\(.*\),/\1 /')
|
||||||
echo "TAGS=$TAGS" >> $GITHUB_ENV
|
echo "TAGS=$TAGS" >> $GITHUB_ENV
|
||||||
SHA256=$(<buildinfo.json | jq -r --arg VERSION "$VERSION" '.$VERSION | .sha256')
|
SHA256=$(<buildinfo.json | jq -r --arg version $VERSION '.[$version] | .sha256')
|
||||||
echo "SHA256=$SHA256" >> $GITHUB_ENV
|
echo "SHA256=$SHA256" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Show versions and tags
|
- name: Show versions and tags
|
||||||
@ -95,7 +95,7 @@ jobs:
|
|||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
build-args: VERSION=${{ env.VERSION }}
|
build-args: VERSION=${{ env.VERSION }} SHA256=${{ env.SHA256 }}
|
||||||
|
|
||||||
|
|
||||||
# Sign the resulting Docker image digest except on PRs.
|
# Sign the resulting Docker image digest except on PRs.
|
||||||
|
Loading…
Reference in New Issue
Block a user