1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-02-19 19:10:26 +02:00

Update docker-publish-github.yml

This commit is contained in:
Bill Plein 2023-03-15 12:35:27 -05:00 committed by GitHub
parent 5b575fe23e
commit fa70de491b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,8 @@ jobs:
- name: Extract all versions from buildinfo.json
id: get-version
run: |
VERSION=$(cat /buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')
TAGS=$(cat /buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')
VERSION=$(cat $HOME/buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')
TAGS=$(cat $HOME/buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')
echo "{VERSION}={$VERSION}" >> $GITHUB_OUTPUT
echo "{TAGS}={$TAGS}" >> $GITHUB_OUTPUT
echo $GITHUB_OUTPUT