Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docker setup-buildx-action version #4230

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build-no-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
target: base
build-args: |
SHA=${{ steps.sha.outputs.short }}
env:
DOCKER_BUILD_RECORD_UPLOAD: false

- name: Build release image locally
uses: docker/build-push-action@v6
Expand All @@ -66,6 +68,8 @@ jobs:
load: true
build-args: |
SHA=${{ steps.sha.outputs.short }}
env:
DOCKER_BUILD_RECORD_UPLOAD: false

- name: Run Snyk to check Docker image for vulnerabilities
uses: snyk/actions/docker@master
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
with:
version: v0.9.1 # More recent buildx versions generate an OCI manifest which is incompatible with Cloud Foundry

- name: Get Short SHA
id: sha
Expand Down Expand Up @@ -79,6 +77,8 @@ jobs:
push: true
build-args: |
BUILDKIT_INLINE_CACHE=1
env:
DOCKER_BUILD_RECORD_UPLOAD: false

- uses: Azure/login@v2
if: failure() && github.ref == 'refs/heads/master'
Expand Down Expand Up @@ -121,8 +121,6 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
with:
version: v0.9.1 # More recent buildx versions generate an OCI manifest which is incompatible with Cloud Foundry

- name: Get Short SHA
id: sha
Expand Down Expand Up @@ -169,6 +167,8 @@ jobs:
build-args: |
BUILDKIT_INLINE_CACHE=1
SHA=${{ steps.sha.outputs.short }}
env:
DOCKER_BUILD_RECORD_UPLOAD: false

- name: Push release-build image
uses: docker/build-push-action@v6
Expand All @@ -187,6 +187,8 @@ jobs:
build-args: |
BUILDKIT_INLINE_CACHE=1
SHA=${{ steps.sha.outputs.short }}
env:
DOCKER_BUILD_RECORD_UPLOAD: false

- uses: Azure/login@v2
if: failure() && github.ref == 'refs/heads/master'
Expand Down
Loading