Skip to content

Commit

Permalink
actions: split image building and publishing to separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
zimnx committed Dec 7, 2020
1 parent 0f6c4b9 commit 0bce43e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/go.yaml
Expand Up @@ -63,10 +63,15 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Publish nightly image
- name: Build nightly image
if: ${{ github.event_name != 'pull_request' }}
working-directory: ${{ env.working-directory }}
run: make nightly

- name: Publish nightly image
if: ${{ github.event_name != 'pull_request' }}
working-directory: ${{ env.working-directory }}
run: make docker-push

# TODO:
# - E2E
1 change: 0 additions & 1 deletion Makefile
Expand Up @@ -96,4 +96,3 @@ release:

nightly:
goreleaser --snapshot --rm-dist --config=.goreleaser-nightly.yml
docker push ${IMG}

0 comments on commit 0bce43e

Please sign in to comment.