Skip to content

Commit

Permalink
moved wait to last docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
shukriadams committed Jun 15, 2021
1 parent d89fe7e commit 32c7f9b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
sudo rm -rf "${{ github.workspace }}"
- uses: actions/checkout@v1
- name: builds armv7 container and pushes to docker hub
run: cd build && sh ./build-dockerImage.sh --dockerpush --smoketest --arch arm32v7
run: cd build && sh ./build-dockerImage.sh --dockerpush --smoketest --arch arm32v7
env:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
Expand All @@ -36,15 +36,12 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: builds amd64 container and pushes to docker hub
run: cd build && sh ./build-dockerImage.sh --dockerpush --smoketest --arch amd64
run: cd build && sh ./build-dockerImage.sh --dockerpush --smoketest --arch amd64
env:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}

wait:
- name: Wait 20 seconds so last container image has a chance to upload
- name: Wait 20 seconds so image has a chance to upload
run: sleep 20s
shell: bash

manifest:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 32c7f9b

Please sign in to comment.