Skip to content

Commit

Permalink
split release job into binaries/docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillora committed Feb 18, 2021
1 parent decab0e commit 02a4be1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
env:
GODEBUG: x509ignoreCN=0
# ================
# RELEASE JOB
# RELEASE JOBS
# runs after a success test
# only runs on push "v*" tag
# ================
release:
name: Release
release_binaries:
name: Release Binaries
needs: test
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
Expand All @@ -46,6 +46,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release --config .github/goreleaser.yml
release_docker:
name: Release Docker Images
needs: test
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down

0 comments on commit 02a4be1

Please sign in to comment.