diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f99f2e3..ab0d053 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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" @@ -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 }} diff --git a/rig-rocky8 b/rig-rocky8.Dockerfile similarity index 100% rename from rig-rocky8 rename to rig-rocky8.Dockerfile diff --git a/rig-ubuntu b/rig-ubuntu.Dockerfile similarity index 100% rename from rig-ubuntu rename to rig-ubuntu.Dockerfile diff --git a/tofutf b/tofutf.Dockerfile similarity index 100% rename from tofutf rename to tofutf.Dockerfile