Skip to content

Commit

Permalink
Add Dockerfile extension
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 6, 2024
1 parent 2664cd6 commit 8ef40a7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
env:
IMAGE: ${{ matrix.image }}
IMAGE: ${{ matrix.image }}.Dockerfile
id: meta
run: |
echo "tag=$(grep FROM $IMAGE | cut -d: -f2)" >> "$GITHUB_OUTPUT"
Expand All @@ -50,7 +50,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.image }}
file: ${{ matrix.image }}.Dockerfile
push: ${{ github.ref == 'refs/heads/main' }}
tags: |
${{ env.REGISTRY }}/${{ env.REPO_NAME }}/${{ matrix.image }}:${{ steps.meta.outputs.tag }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8ef40a7

Please sign in to comment.