proba/.forgejo/workflows/test-registry.yaml
Workflow config file is invalid. Please check your config file: yaml: line 7: did not find expected key

27 lines
No EOL
724 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 --storage-driver vfs bud \
--isolation chroot \
-t git.rangelovk.xyz/tues-test/proba:latest .
- name: Push image
run: |
buildah --storage-driver vfs push \
--creds "rangelovk:${{ secrets.REGISTRY_TOKEN }}" \
git.rangelovk.xyz/tues-test/proba:latest