Skip to content

Commit

Permalink
Set provenance to false on docker/build-push-action
Browse files Browse the repository at this point in the history
Builds were failing with the error:

> OCI index found, but Accept header does not support OCI indexes

The suggested fix is to temporarily disable provenance until better
support for OCI indexes arrives.

docker/buildx#1533
  • Loading branch information
peteryates authored and leandroalemao committed Jan 20, 2023
1 parent 1dfde2a commit 7b9283d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_to_dev.yml
Expand Up @@ -28,7 +28,9 @@ jobs:
terraform_version: 0.14.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
with:
version: v0.9.1 # More recent buildx versions generate an OCI manifest

- name: Login to DockerHub
uses: docker/login-action@v1
Expand All @@ -46,6 +48,7 @@ jobs:
push: true
tags: dfedigital/early-careers-framework-dev:builder
target: builder
provenance: false

- name: Build and push docker image from early-careers-framework-gems-node-modules target
uses: docker/build-push-action@v2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/review.yml
Expand Up @@ -35,6 +35,8 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
version: v0.9.1 # More recent buildx versions generate an OCI manifest

- name: Login to DockerHub
uses: docker/login-action@v1
Expand Down

0 comments on commit 7b9283d

Please sign in to comment.