Fix github action

This commit is contained in:
Tomofumi Hayashi 2023-04-15 02:07:39 +09:00
parent 72945e3679
commit 065599ca0c
2 changed files with 10 additions and 10 deletions

View File

@ -17,7 +17,7 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/login-action@v2
with:
registry: ghcr.io
@ -25,7 +25,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push container image for thick plugin
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/build-push-action@v3
with:
context: .
@ -47,7 +47,7 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/login-action@v2
with:
registry: ghcr.io
@ -55,7 +55,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push thin container image
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/build-push-action@v3
with:
context: .
@ -69,7 +69,7 @@ jobs:
provenance: false
- name: Push thin container debug image
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/build-push-action@v3
with:
context: .

View File

@ -17,7 +17,7 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/login-action@v2
with:
registry: ghcr.io
@ -33,7 +33,7 @@ jobs:
latest=false
- name: Push container image for thick plugin
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/build-push-action@v3
with:
context: .
@ -55,7 +55,7 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/login-action@v2
with:
registry: ghcr.io
@ -71,7 +71,7 @@ jobs:
latest=false
- name: Push thin container image
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/build-push-action@v3
with:
context: .
@ -85,7 +85,7 @@ jobs:
provenance: false
- name: Push thin container debug image
if: github.repository_owner == ${{ env.image-push-owner }}
if: ${{ github.repository_owner == env.image-push-owner }}
uses: docker/build-push-action@v3
with:
context: .