proba/.forgejo/workflows/test-registry.yaml
rangelovk ae18c0b8ab
Some checks failed
build-image / build (push) Failing after 1s
Update .forgejo/workflows/test-registry.yaml
2026-07-08 21:36:39 +00:00

21 lines
No EOL
585 B
YAML

name: build-image
on:
push:
branches: [main]
jobs:
build:
runs-on: docker
container:
image: quay.io/buildah/stable
steps:
- name: Checkout manually
run: |
git clone https://rangelovk:${{ secrets.REGISTRY_TOKEN }}@git.rangelovk.xyz/tues-test/proba.git .
git checkout ${{ github.sha }}
- name: Build image
run: buildah bud -t git.rangelovk.xyz/tues-test/proba:latest .
- name: Push image
run: buildah push --creds "rangelovk:${{ secrets.REGISTRY_TOKEN }}" git.rangelovk.xyz/tues-test/proba:latest