Skip to content

Commit

Permalink
Update parachain-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mosonyi committed Aug 9, 2021
1 parent be28877 commit 7b312b5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/parachain-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: Publish Parachain Releases to Hub
# architectures and push all of them to Docker Hub.
# Only trigger on semver shaped tags.
on:
push:
tags:
- "v*.*.*"
release:
types: [published]

env:
# github.repository as <account>/<repo>
PARACHAIN_IMAGE_NAME: integritee/parachain-docker-template
Expand Down Expand Up @@ -37,6 +37,7 @@ jobs:
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
fi
VERSION=${{ github.event.release.tag_name }}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:

- name: Image digest
run:
echo ${{ github.event.release.tag_name }}
echo ${{ steps.docker_build.outputs.digest }}
echo ${{ steps.buildx.outputs.name }}
echo ${{ steps.prep.outputs.tags }}

0 comments on commit 7b312b5

Please sign in to comment.