Push to registry
Some checks failed
/ build (push) Failing after 24s

This commit is contained in:
Aram 🍐 2025-08-23 03:00:13 -04:00
parent 4f0e410244
commit 82dc9d8a5a

View file

@ -14,21 +14,21 @@ jobs:
- name: Extract the tag
id: extract_tag
run: echo "::set-output name=tag::$(echo ${{ forge.sha }} | cut -c1-10)"
- name: Install Buildah
run: apt-get update && apt-get install -y buildah
- name: Install Buildah and Podman
run: apt-get update && apt-get install -y buildah podman
- name: Buildah Build
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: git.poire.dev/aramperes/poire.dev
image: aramperes/poire.dev
tags: ${{ steps.extract_tag.outputs.tag }}
context: ./website
containerfiles: ./website/docker/Dockerfile
- name: Push to Registry
uses: redhat-actions/push-to-registry@v2
uses: https://github.com/redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: git.poire.dev
username: ${{ secrets.FORGEJO_ACTOR }}
username: ${{ env.FORGEJO_ACTOR }}
password: ${{ secrets.FORGEJO_TOKEN }}