Skip to content

Commit

Permalink
back to using PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
WasinUddy committed Jun 8, 2024
1 parent d34fef6 commit b57dc0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-montainer-preview-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }}


- name: Build Montainer (preview) Image
run: |
docker build . --tag ghcr.io/wasinuddy/montainer-preview:latest --tag ghcr.io/wasinuddy/montainer-preview:${{ env.PREVIEW_VERSION }}
docker buildx . --tag ghcr.io/wasinuddy/montainer-preview:latest --tag ghcr.io/wasinuddy/montainer-preview:${{ env.PREVIEW_VERSION }}
docker push ghcr.io/wasinuddy/montainer-preview:latest
docker push ghcr.io/wasinuddy/montainer-preview:${{ env.PREVIEW_VERSION }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-montainer-stable-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }}


- name: Build Montainer (Stable) Image
run: |
docker build . --tag ghcr.io/wasinuddy/montainer-stable:latest --tag ghcr.io/wasinuddy/montainer-stable:${{ env.STABLE_VERSION }}
docker buildx . --tag ghcr.io/wasinuddy/montainer-stable:latest --tag ghcr.io/wasinuddy/montainer-stable:${{ env.STABLE_VERSION }}
docker push ghcr.io/wasinuddy/montainer-stable:latest
docker push ghcr.io/wasinuddy/montainer-stable:${{ env.STABLE_VERSION }}
Expand Down

0 comments on commit b57dc0e

Please sign in to comment.