Update .forgejo/workflows/build.yml
This commit is contained in:
parent
bfb334cc7d
commit
802c63e411
1 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
- name: Use buildah bud to create the image
|
- name: Use buildah bud to create the image
|
||||||
id: build-image
|
id: build-image
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: https://github.com/redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ env.IMAGE_NAME }}
|
image: ${{ env.IMAGE_NAME }}
|
||||||
tags: latest ${{ github.sha }}
|
tags: latest ${{ github.sha }}
|
||||||
|
@ -41,7 +41,7 @@ jobs:
|
||||||
echo $auth > $HOME/.docker/config.json
|
echo $auth > $HOME/.docker/config.json
|
||||||
|
|
||||||
- name: Log in to the GitHub Container registry
|
- name: Log in to the GitHub Container registry
|
||||||
uses: redhat-actions/podman-login@v1
|
uses: https://github.com/redhat-actions/podman-login@v1
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
- name: Push to GitHub Container Repository
|
- name: Push to GitHub Container Repository
|
||||||
id: push-to-ghcr
|
id: push-to-ghcr
|
||||||
uses: redhat-actions/push-to-registry@v2
|
uses: https://github.com/redhat-actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ steps.build-image.outputs.image }}
|
image: ${{ steps.build-image.outputs.image }}
|
||||||
tags: ${{ steps.build-image.outputs.tags }}
|
tags: ${{ steps.build-image.outputs.tags }}
|
||||||
|
|
Loading…
Reference in a new issue