Skip to content

Commit

Permalink
Properly load built docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
meeDamian committed Aug 23, 2020
1 parent e7d3bf9 commit 7224fc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ jobs:
# - riscv32 # Nothing to test it against…

steps:
- name: Setup environment
run: |
TAG="${GITHUB_REF#refs/tags/}"
echo ::set-env name=VERSION::"${TAG%+*}"
- name: Download all build artifacts
uses: actions/download-artifact@v1.0.0
with:
Expand All @@ -138,7 +143,7 @@ jobs:
run: sha256sum docker-images/*

- name: Load relevant image locally
run: docker load -i "docker-images/$APP-${{ matrix.arch }}.tgz"
run: docker load -i "docker-images/$APP-$VERSION-${{ matrix.arch }}.tgz"

- name: Enable emulation
run: docker run --rm --privileged "$APP:${{ matrix.arch }}" -p yes
Expand Down

0 comments on commit 7224fc3

Please sign in to comment.