Update docker-buildx-bake-build.yml
new login method for ghcr
This commit is contained in:
parent
896a83c056
commit
09889b9168
12
.github/workflows/docker-buildx-bake-build.yml
vendored
12
.github/workflows/docker-buildx-bake-build.yml
vendored
@ -25,9 +25,15 @@ 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: |
|
||||
docker buildx bake --push
|
||||
|
Loading…
Reference in New Issue
Block a user