mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
chore(build): fixes docker login action credentials
This commit is contained in:
@@ -97,17 +97,17 @@ jobs:
|
|||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v2
|
||||||
- uses: docker/login-action@v2
|
- uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.KRYSTAL_REGISTRY_HOST }}
|
registry: ghcr.io
|
||||||
username: ${{ vars.KRYSTAL_REGISTRY_USERNAME }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.KRYSTAL_REGISTRY_PASSWORD }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: docker/build-push-action@v4
|
- uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/postalserver/postal:stable
|
ghcr.io/postalserver/postal:stable
|
||||||
ghcr.io/postalserver/postal:${{ needs.release-please.outputs.version }}
|
ghcr.io/postalserver/postal:${{ needs.release-please.outputs.version }}
|
||||||
cache-from: type=local,src=/cache/krystal-identity
|
cache-from: type=gha
|
||||||
cache-to: type=local,dest=/cache/krystal-identity,mode=max
|
cache-to: type=gha,mode=max
|
||||||
target: full
|
target: full
|
||||||
build-args: |
|
build-args: |
|
||||||
VERSION=${{ needs.release-please.outputs.version }}
|
VERSION=${{ needs.release-please.outputs.version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user