Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
s1061123 committed Apr 14, 2023
1 parent 72945e3 commit 77aac95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/image-push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ 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
username: ${{ github.repository_owner }}
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: .
Expand All @@ -47,15 +47,15 @@ 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
username: ${{ github.repository_owner }}
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: .
Expand All @@ -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: .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/image-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: .
Expand All @@ -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
Expand All @@ -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: .
Expand All @@ -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: .
Expand Down

0 comments on commit 77aac95

Please sign in to comment.