diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 5a70c03..24b7e44 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -105,8 +105,6 @@ jobs: # git checkout the PR - uses: actions/checkout@v4 - - - name: Login to DockerHub if: github.event_name != 'pull_request' uses: docker/login-action@v3 @@ -170,8 +168,6 @@ jobs: org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} org.label-schema.vcs-ref=${{ github.sha }} org.label-schema.vcs-url=${{ github.event.repository.clone_url }} - cache-from: type=gha - cache-to: type=gha,mode=max - name: Pull Base Docker image if: github.event_name != 'pull_request' @@ -200,8 +196,6 @@ jobs: org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} org.label-schema.vcs-ref=${{ github.sha }} org.label-schema.vcs-url=${{ github.event.repository.clone_url }} - cache-from: type=gha - cache-to: type=gha,mode=max # those need images from config, so we build them on second step build-sub-images: @@ -220,11 +214,6 @@ jobs: # git checkout the PR - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to DockerHub if: github.event_name != 'pull_request' uses: docker/login-action@v3 @@ -288,8 +277,6 @@ jobs: org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} org.label-schema.vcs-ref=${{ github.sha }} org.label-schema.vcs-url=${{ github.event.repository.clone_url }} - cache-from: type=gha - cache-to: type=gha,mode=max - name: ReBuild ardupilot-dev-armhf image from cache if: github.event_name == 'pull_request' && ${{matrix.config}} == "armhf-musl" @@ -312,8 +299,6 @@ jobs: org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} org.label-schema.vcs-ref=${{ github.sha }} org.label-schema.vcs-url=${{ github.event.repository.clone_url }} - cache-from: type=gha - cache-to: type=gha,mode=max - name: ReBuild ardupilot-dev-coverage image from cache if: github.event_name == 'pull_request' && ${{matrix.config}} == "periph" @@ -336,8 +321,6 @@ jobs: org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} org.label-schema.vcs-ref=${{ github.sha }} org.label-schema.vcs-url=${{ github.event.repository.clone_url }} - cache-from: type=gha - cache-to: type=gha,mode=max - name: Pull Base Docker image if: github.event_name != 'pull_request' && ${{matrix.config}} == "armhf-musl" @@ -372,5 +355,3 @@ jobs: org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} org.label-schema.vcs-ref=${{ github.sha }} org.label-schema.vcs-url=${{ github.event.repository.clone_url }} - cache-from: type=gha - cache-to: type=gha,mode=max