diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml index 8cb7fe9e691e..06692a0cb568 100644 --- a/.github/actions/docker/action.yaml +++ b/.github/actions/docker/action.yaml @@ -47,8 +47,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-compose.yml b/docker-compose.yml index 125a4fc25371..a9fa22ad9c83 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,8 +31,9 @@ x-build-volumes: &build-volumes - ${STARBOARD_TOOLCHAINS_DIR:-container-starboard-toolchains}:/root/starboard-toolchains x-build-common-definitions: &build-common-definitions - <<: *common-definitions - <<: *build-volumes + <<: + - *common-definitions + - *build-volumes depends_on: - build-base @@ -150,8 +151,9 @@ services: CONFIG: ${CONFIG:-debug} linux-x64x11-xenial: - <<: *common-definitions - <<: *build-volumes + <<: + - *common-definitions + - *build-volumes build: context: ./docker/linux dockerfile: linux-x64x11/Dockerfile @@ -163,8 +165,9 @@ services: scale: 0 linux-x64x11-clang-3-9: - <<: *common-definitions - <<: *build-volumes + <<: + - *common-definitions + - *build-volumes build: context: ./docker/linux/ dockerfile: clang-3-9/Dockerfile @@ -177,8 +180,9 @@ services: - linux-x64x11-xenial linux-x64x11-clang-3-9-prebuilt: - <<: *common-definitions - <<: *build-volumes + <<: + - *common-definitions + - *build-volumes image: gcr.io/cobalt-tools/build-cobalt-linux-x64x11-clang-3-9:1.4 environment: <<: *shared-build-env diff --git a/docker/linux/android/Dockerfile b/docker/linux/android/Dockerfile index 5624b660159b..371a3379a9eb 100644 --- a/docker/linux/android/Dockerfile +++ b/docker/linux/android/Dockerfile @@ -15,7 +15,7 @@ FROM cobalt-build-base RUN apt update -qqy \ - && apt install -qqy --no-install-recommends \ + && apt install -qqy \ default-jdk \ g++-multilib \ libxml2-dev \ diff --git a/docker/linux/base/Dockerfile b/docker/linux/base/Dockerfile index 07c34a0dc5e7..ae7ca7386574 100644 --- a/docker/linux/base/Dockerfile +++ b/docker/linux/base/Dockerfile @@ -14,7 +14,7 @@ ARG BASE_OS ARG BASE_OS_TAG -FROM ${BASE_OS:-gcr.io/cloud-marketplace-containers/google/debian10}:${BASE_OS_TAG:-latest} +FROM ${BASE_OS:-marketplace.gcr.io/google/debian10}:${BASE_OS_TAG:-latest} ENV PYTHONUNBUFFERED 1