Skip to content

Commit

Permalink
use docker build push action to build tar
Browse files Browse the repository at this point in the history
  • Loading branch information
abessette committed Sep 1, 2021
1 parent 75bbea7 commit 338e9d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -108,7 +108,13 @@ jobs:
echo "::set-output name=value::${BASH_REMATCH[1]}";
- name: Create docker image archive
run: docker save mage:latest | gzip > mage_latest.tar.gz
uses: docker/build-push-action@v2
with:
tags: ${{ steps.get_tag.outputs.value }}
context: .
file: ./docker/Dockerfile
push: false
outputs: type=tar, dest=./mage_latest.tar.gz

- name: Create release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 338e9d0

Please sign in to comment.