Skip to content

Commit

Permalink
Add ghcr to tag
Browse files Browse the repository at this point in the history
  • Loading branch information
WGOS committed Dec 27, 2023
1 parent d8e763a commit 01f16ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ github.repository }}:${{ matrix.postgres }}
tags: ghcr.io/${{ github.repository }}:${{ matrix.postgres }}
build-args: |
ALPINE_VERSION=${{ matrix.alpine }}
platforms: |
Expand Down

0 comments on commit 01f16ff

Please sign in to comment.