mirror of
https://github.com/bplein/factorio-docker.git
synced 2025-02-21 19:19:40 +02:00
Update docker-publish-github.yml
This commit is contained in:
parent
ab0778b172
commit
4d5acd6146
2
.github/workflows/docker-publish-github.yml
vendored
2
.github/workflows/docker-publish-github.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
||||
run: |
|
||||
VERSION=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')
|
||||
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')| awk '{print "ghcr.io/bplein/factorio-docker:" $0}' | tr '\n' ','| tr -d \'|sed 's/\(.*\),/\1 /')
|
||||
echo "TAGS=$TAGS" >> $GITHUB_ENV
|
||||
SHA256=$(<buildinfo.json jq -r --arg version $VERSION '.[$version] | .sha256')
|
||||
echo "SHA256=$SHA256" >> $GITHUB_ENV
|
||||
|
Loading…
x
Reference in New Issue
Block a user