Bump google-github-actions/auth from 2.1.5 to 2.1.7 #1247
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: | |
# Run tests for any PRs. | |
pull_request: | |
permissions: read-all | |
env: | |
IMAGE_NAME: packagefeeds | |
jobs: | |
build-image: | |
name: Build image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3 | |
- name: Test build on x86 | |
id: docker_build | |
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v5 | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: linux/amd64 | |
push: false # Only attempt to build, to verify the Dockerfile is working | |
load: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |