-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- The documentation does not mention anything about my problem
- There are no open or closed issues that are related to my problem
Description
existing build scripts using docker/metadata-action are failing with v6 due to confusion about where the files are located
Expected behaviour
build success
Actual behaviour
ERROR: failed to solve: lstat /actions-runner/_work/_temp/docker-actions-toolkit-YZDiwT/docker-metadata-action-bake.json: no such file or directory
Repository URL
No response
Workflow run URL
No response
YAML workflow
- name: Docker meta
id: meta-yyy
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
with:
images: |
${{ secrets.DOCKER_USERNAME }}/xxx
flavor: |
latest=false
prefix=yyy-
tags: |
type=raw,value=${{ github.run_number }}
labels: |
org.opencontainers.image.title=xxx
org.opencontainers.image.description=xxx
org.opencontainers.image.vendor=xxx
bake-target: yyy-tags
- name: Build
uses: docker/bake-action@60f5d53310314dbf8c33f0c8a01042536f2f6c36 # v6
with:
files: |
./docker-bake.json
${{ steps.meta-yyy.outputs.bake-file }}
targets: default
push: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate') }}
pull: true #always pull latest version of base images of whatever we are building
Workflow logs
No response
BuildKit logs
Additional info
No response