diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 13c676f3f..4068600db 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -10,45 +10,8 @@ env: PUSH_IMAGE: ${{ (github.ref_name == 'master') || (github.repository_owner != 'moos-ivp') }} jobs: - build-base: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - os: ubuntu-latest - arch: linux/amd64 - - os: ubuntu-latest # change this to the native arm runner when Github makes it public - arch: linux/arm64 - steps: - - name: Prepare - run: | - platform=${{ matrix.arch }} - echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV - echo "COMMIT_TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build base by digest for cache - id: build - uses: docker/build-push-action@v6 - env: - SOURCE_DATE_EPOCH: ${{ env.COMMIT_TIMESTAMP }} - with: - platforms: ${{ matrix.platform }} - file: docker/moos-ivp/Dockerfile - target: base - cache-from: type=gha - cache-to: type=gha,mode=max - build-minrobot: runs-on: ubuntu-latest - needs: - - build-base env: FLAVOR: "" steps: