diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml index 4e1b6570a958..9ae3960043b8 100644 --- a/.github/actions/docker/action.yaml +++ b/.github/actions/docker/action.yaml @@ -46,8 +46,11 @@ runs: run: echo "DOCKER_TAG=ghcr.io/${REPO}/${{inputs.docker_image}}:${GITHUB_BASE_REF%.1+}" >> $GITHUB_ENV shell: bash - name: Set up Cloud SDK - if: ${{ (steps.changed-files.outputs.any_changed == 'true') && (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.fork) }} - uses: google-github-actions/setup-gcloud@v1 + uses: isarkis/setup-gcloud@40dce7857b354839efac498d3632050f568090b6 # v1.1.1 + - name: Configure Docker auth for GCloud + shell: bash + run: | + gcloud auth configure-docker - name: Set Docker Tag id: set-docker-tag-presubmit-fork env: diff --git a/docker/linux/base/Dockerfile b/docker/linux/base/Dockerfile index 0650f71f6630..76cafd410742 100644 --- a/docker/linux/base/Dockerfile +++ b/docker/linux/base/Dockerfile @@ -14,11 +14,7 @@ ARG BASE_OS ARG BASE_OS_TAG -<<<<<<< HEAD -FROM ${BASE_OS:-gcr.io/cloud-marketplace-containers/google/debian10}:${BASE_OS_TAG:-latest} -======= -FROM ${BASE_OS:-marketplace.gcr.io/google/debian11}:${BASE_OS_TAG:-latest} ->>>>>>> 6c55b73523a ([Docker] Fix base container alias (#4141)) +FROM ${BASE_OS:-marketplace.gcr.io/google/debian10}:${BASE_OS_TAG:-latest} COPY base/clean-after-apt.sh /opt/clean-after-apt.sh