Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ntse committed Nov 7, 2024
1 parent 65dbb66 commit ecaa6c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ on:
description: "Whether or not to generate a tag and release after building the image"
type: boolean
default: false
dockerfile_path:
description: "Path of the Dockerfile"
dockerfile:
description: "Name of the Dockerfile relative to the build context"
type: string
default: "${{ inputs.docker_build_context}}/Dockerfile"
default: "Dockerfile"
docker_build_context:
description: "The context of the Docker build command"
type: string
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
push: false
tags: "container:latest"
load: true
file: ${{ inputs.dockerfile_path }}
file: "${{ inputs.docker_build_context }}/${{ inputs.dockerfile }}"
outputs: type=docker,dest=/tmp/container-image.tar

- name: Unit tests
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/container-image-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
image: ${{ steps.push.outputs.image }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
repository: ${{ inputs.repo }}

- uses: ukhsa-collaboration/devops-github-actions/.github/actions/[email protected]
id: tag_bump
Expand Down

0 comments on commit ecaa6c1

Please sign in to comment.