Skip to content

Commit 02a4be1

Browse files
committed
split release job into binaries/docker image
1 parent decab0e commit 02a4be1

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
env:
2828
GODEBUG: x509ignoreCN=0
2929
# ================
30-
# RELEASE JOB
30+
# RELEASE JOBS
3131
# runs after a success test
3232
# only runs on push "v*" tag
3333
# ================
34-
release:
35-
name: Release
34+
release_binaries:
35+
name: Release Binaries
3636
needs: test
3737
if: startsWith(github.ref, 'refs/tags/v')
3838
runs-on: ubuntu-latest
@@ -46,6 +46,14 @@ jobs:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
with:
4848
args: release --config .github/goreleaser.yml
49+
release_docker:
50+
name: Release Docker Images
51+
needs: test
52+
if: startsWith(github.ref, 'refs/tags/v')
53+
runs-on: ubuntu-latest
54+
steps:
55+
- name: Check out code
56+
uses: actions/checkout@v2
4957
- name: Set up QEMU
5058
uses: docker/setup-qemu-action@v1
5159
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)