Update .forgejo/workflows/build.yml
This commit is contained in:
parent
cd6223fe70
commit
0dfa49dd94
1 changed files with 7 additions and 2 deletions
|
@ -168,7 +168,8 @@ jobs:
|
||||||
# with:
|
# with:
|
||||||
# string: ${{ env.IMAGE_NAME }}
|
# string: ${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Push To GHCR
|
|
||||||
|
- name: Push To Registry
|
||||||
uses: https://github.com/redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
|
uses: https://github.com/redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
|
||||||
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
||||||
id: push
|
id: push
|
||||||
|
@ -176,8 +177,12 @@ jobs:
|
||||||
REGISTRY_USER: ${{ github.actor }}
|
REGISTRY_USER: ${{ github.actor }}
|
||||||
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.IMAGE_REGISTRY }}
|
registry: rievo.dev
|
||||||
image: ${{ env.IMAGE_NAME }}
|
image: ${{ env.IMAGE_NAME }}
|
||||||
|
tags: ${{ steps.metadata.outputs.tags }}
|
||||||
|
username: ${{ env.REGISTRY_USER }}
|
||||||
|
password: ${{ env.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
|
||||||
# This section is optional and only needs to be enabled if you plan on distributing
|
# This section is optional and only needs to be enabled if you plan on distributing
|
||||||
# your project for others to consume. You will need to create a public and private key
|
# your project for others to consume. You will need to create a public and private key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue