Update docker-buildx-bake-build.yml
new login method for ghcr
This commit is contained in:
parent
896a83c056
commit
09889b9168
10
.github/workflows/docker-buildx-bake-build.yml
vendored
10
.github/workflows/docker-buildx-bake-build.yml
vendored
@ -25,8 +25,14 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
|
||||
#- name: Login to GitHub Container Registry
|
||||
# run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
|
||||
- name: 'Login to GitHub Container Registry'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.GHCR_PAT}}
|
||||
|
||||
- name: Build and Push Docker Compose Services
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user