From 32c7f9b39aa1d3b89b043fb55141873eee71c1ac Mon Sep 17 00:00:00 2001 From: Shukri Adams Date: Wed, 16 Jun 2021 00:55:54 +0200 Subject: [PATCH] moved wait to last docker image build --- .github/workflows/build-docker.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 3d86d5a..9f31c2b 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -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 }} @@ -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