diff --git a/.github/workflows/github-actions-publish-docker-images.yml b/.github/workflows/github-actions-publish-docker-images.yml index 739f0e0c19..3c92cceba4 100644 --- a/.github/workflows/github-actions-publish-docker-images.yml +++ b/.github/workflows/github-actions-publish-docker-images.yml @@ -37,21 +37,11 @@ jobs: - name: Set environment variables run: | - echo "IMAGE_DEPS=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')-dev/${{ matrix.os[0] }}" >> $GITHUB_ENV + echo "IMAGE_DEPS=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')-test-cache-deps/${{ matrix.os[0] }}" >> $GITHUB_ENV - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Network Setup - run: | - sudo apt-get update - sudo apt-get install -y bridge-utils - sudo pkill docker - sudo iptables -t nat -F - sudo ifconfig docker0 down - sudo brctl delbr docker0 - sudo service docker restart - - name: Login to GitHub Container Registry (GHCR) if: github.event_name != 'pull_request' uses: docker/login-action@v2 @@ -97,22 +87,12 @@ jobs: - name: Set environment variables run: | - echo "IMAGE=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')/${{ matrix.os }}" >> $GITHUB_ENV - echo "IMAGE_DEPS=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')-dev/${{ matrix.os }}" >> $GITHUB_ENV + echo "IMAGE=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')-test-cache/${{ matrix.os }}" >> $GITHUB_ENV + echo "IMAGE_DEPS=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')-test-cache-deps/${{ matrix.os }}" >> $GITHUB_ENV - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Network Setup - run: | - sudo apt-get update - sudo apt-get install -y bridge-utils - sudo pkill docker - sudo iptables -t nat -F - sudo ifconfig docker0 down - sudo brctl delbr docker0 - sudo service docker restart - # We don't use the build-push-action here because it hangs - name: Build ORFS image run: |