Skip to content

Commit

Permalink
Merge pull request #211 from cisagov/improvement/remove_buildx_scripting
Browse files Browse the repository at this point in the history
Remove functionality to create special buildx Dockerfile
  • Loading branch information
mcdonnnj authored Feb 7, 2025
2 parents dfbbe4c + 77aad83 commit dfeb249
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,16 +414,14 @@ jobs:
path: ${{ env.BUILDX_CACHE_DIR }}
restore-keys: |
${{ env.BASE_CACHE_KEY }}
- name: Create cross-platform support Dockerfile-x
run: ./buildx-dockerfile.sh
- name: Build and push platform images to registries
id: docker_build
uses: docker/build-push-action@v6
with:
cache-from: type=local,src=${{ env.BUILDX_CACHE_DIR }}
cache-to: type=local,dest=${{ env.BUILDX_CACHE_DIR }}
context: .
file: ./Dockerfile-x
file: ./Dockerfile
labels: ${{ needs.prepare.outputs.labels }}
platforms: |
linux/amd64
Expand Down
15 changes: 0 additions & 15 deletions buildx-dockerfile.sh

This file was deleted.

0 comments on commit dfeb249

Please sign in to comment.