Skip to content

Commit

Permalink
Use relative path for Dockerfile copies
Browse files Browse the repository at this point in the history
In order to align with requirements of the official docker library images' build process.
docker-library/official-images#17549 (comment)
  • Loading branch information
adamiBs committed Sep 13, 2024
1 parent 6c299a6 commit 82a9b36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/actions/build-and-tag-locally/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ runs:
- name: Build
uses: docker/build-push-action@v6
with:
context: .
file: ${{ inputs.distribution }}/Dockerfile
context: ${{ inputs.distribution }}
push: false
load: true
platforms: ${{ inputs.platform }}
Expand Down Expand Up @@ -203,8 +202,7 @@ runs:
uses: docker/build-push-action@v6
if: ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64","arm64"]'), steps.platform.outputs.display_name) }}
with:
context: .
file: ${{ inputs.distribution }}/Dockerfile
context: ${{ inputs.distribution }}
push: true
tags: ${{ inputs.registry_repository }}:${{ github.sha }}-${{ inputs.distribution }}
cache-from: type=gha
Expand Down
3 changes: 2 additions & 1 deletion alpine/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion debian/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 82a9b36

Please sign in to comment.