Skip to content

Commit

Permalink
Fix toolchain image action to specify dockerfile
Browse files Browse the repository at this point in the history
This dockerfile moved but the workflow did not get updated.

Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 committed Oct 2, 2023
1 parent dfd18cb commit 4430a2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
description: The repo name to use for the image
required: false
default: ""
dockerfile:
description: The dockerfile to use
required: false
default: "Dockerfile"

runs:
using: composite
Expand Down Expand Up @@ -48,6 +52,7 @@ runs:
docker buildx build \
--target=${{inputs.target}} \
-f ${{ inputs.dockerfile }} \
-t "ghcr.io/${FULL_REPO}:${{ inputs.tag }}" \
--push \
--cache-to=type=gha,mode=max,scope=${GITHUB_REF_NAME}-${{ inputs.target }} \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/toolchain-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
tag: ${{ github.event.inputs.tag }}
target: toolchain
token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: frontend/mariner2/Dockerfile

0 comments on commit 4430a2f

Please sign in to comment.