mirror of
https://github.com/bplein/factorio-docker.git
synced 2024-11-24 08:42:31 +02:00
Update docker-publish-github2.yml
This commit is contained in:
parent
ab4adf5132
commit
3e1ff7bebc
12
.github/workflows/docker-publish-github2.yml
vendored
12
.github/workflows/docker-publish-github2.yml
vendored
@ -65,6 +65,18 @@ jobs:
|
|||||||
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
|
- name: Extract all versions from buildinfo.json
|
||||||
|
id: get-versions
|
||||||
|
run: |
|
||||||
|
version=$(jq -r '.[] | .tags | select( index("latest"))|.[]' buildinfo.json)
|
||||||
|
echo ${{ steps.get-versions.outputs.version }}
|
||||||
|
- name: Show versions
|
||||||
|
run: |
|
||||||
|
version="${{ steps.get-versions.outputs.value }}"
|
||||||
|
for version in $versions; do
|
||||||
|
echo "$version"
|
||||||
|
done
|
||||||
|
|
||||||
# Build and push Docker image with Buildx (don't push on PR)
|
# Build and push Docker image with Buildx (don't push on PR)
|
||||||
# https://github.com/docker/build-push-action
|
# https://github.com/docker/build-push-action
|
||||||
|
Loading…
Reference in New Issue
Block a user