Split commands for building and pushing images
This commit is contained in:
parent
f1a9239ffc
commit
5d3eb4aca9
2 changed files with 3 additions and 3 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -27,7 +27,9 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build and push Docker images
|
||||
run: ws docker image push $GITHUB_SHA
|
||||
run: |
|
||||
ws docker image build $GITHUB_SHA
|
||||
ws docker image push $GITHUB_SHA
|
||||
env:
|
||||
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
||||
DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue