Skip to content

Commit 0979285

Browse files
AlecThomsonAlec Thomsonpre-commit-ci[bot]
authored
Docker fix (#86)
* Docker files * Add link * Fix docker * Docs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix name * Fix name --------- Co-authored-by: Alec Thomson <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 47db136 commit 0979285

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,32 +47,31 @@ jobs:
4747
uses: docker/metadata-action@v5
4848
with:
4949
images: |
50-
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.name }}
50+
${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.name }}
5151
tags: |
5252
type=raw,value=${{ env.TAG_SUFFIX }}
5353
5454
- name: Set up Docker Buildx
5555
uses: docker/setup-buildx-action@v3
56-
5756
- name: Build and push Docker image
5857
id: push
5958
uses: docker/build-push-action@v6
6059
with:
6160
context: .
6261
file: Dockerfile-${{ matrix.name }} # Builds the correct Dockerfile
6362
push: true
64-
tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.name }}:${{ env.TAG_SUFFIX }} # Explicitly set tag
63+
tags: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.name }}:${{ env.TAG_SUFFIX }} # Explicitly set tag
6564
labels: ${{ steps.meta.outputs.labels }}
6665
cache-from: type=gha
6766
cache-to: type=gha,mode=max
6867

6968
# - name: Debug build output
7069
# run: |
71-
# docker images ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.name }}
70+
# docker images ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.name }}
7271

7372
# - name: Debug attestation input
7473
# run: |
75-
# echo "Subject name: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.name }}:${{ env.TAG_SUFFIX }}"
74+
# echo "Subject name: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.name }}:${{ env.TAG_SUFFIX }}"
7675
# echo "Subject digest: ${{ steps.push.outputs.digest }}"
7776

7877
# - name: Generate artifact attestation

0 commit comments

Comments
 (0)