Skip to content

Commit

Permalink
Testing Docker push steps with tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin Meyer authored and jvasallo committed Apr 19, 2020
1 parent a3df8b9 commit 6711769
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:
tags: latest,${{ steps.get_version.outputs.VERSION }}
push: ${{ startsWith(github.ref, 'refs/tags/') }}
# On tag, Pack zip of scuttle for GitHub Release
- name: Pack
run: |
mkdir build/artifacts
zip -r -j build/artifacts/scuttle-linux-amd64.zip build/linux/amd64/
if: startsWith(github.ref, 'refs/tags/')
# - name: Pack
# run: |
# mkdir build/artifacts
# zip -r -j build/artifacts/scuttle-linux-amd64.zip build/linux/amd64/
# if: startsWith(github.ref, 'refs/tags/')
# On tag, Create GitHub Release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/artifacts/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: build/artifacts/*.zip
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6711769

Please sign in to comment.