Skip to content

Commit

Permalink
Merge pull request #217 from cisagov/improvement/streamline_image_bui…
Browse files Browse the repository at this point in the history
…ld_jobs

Use `docker/build-push-action` default behavior
  • Loading branch information
mcdonnnj authored Feb 20, 2025
2 parents 0a2e987 + 2200891 commit f85efbb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ jobs:
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -278,8 +276,6 @@ jobs:
with:
cache-from: type=local,src=${{ env.BUILDX_CACHE_DIR }}
cache-to: type=local,dest=${{ env.BUILDX_CACHE_DIR }}
context: .
file: ./Dockerfile
labels: ${{ needs.prepare.outputs.labels }}
outputs: type=docker,dest=dist/image.tar
# Uncomment the following option if you are building an image for use
Expand Down Expand Up @@ -399,8 +395,6 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -420,8 +414,6 @@ jobs:
with:
cache-from: type=local,src=${{ env.BUILDX_CACHE_DIR }}
cache-to: type=local,dest=${{ env.BUILDX_CACHE_DIR }}
context: .
file: ./Dockerfile
labels: ${{ needs.prepare.outputs.labels }}
platforms: |
linux/amd64
Expand Down

0 comments on commit f85efbb

Please sign in to comment.