Update .forgejo/workflows/test-registry.yaml
This commit is contained in:
parent
ae18c0b8ab
commit
2a0069b828
1 changed files with 10 additions and 4 deletions
|
|
@ -14,8 +14,14 @@ jobs:
|
||||||
git clone https://rangelovk:${{ secrets.REGISTRY_TOKEN }}@git.rangelovk.xyz/tues-test/proba.git .
|
git clone https://rangelovk:${{ secrets.REGISTRY_TOKEN }}@git.rangelovk.xyz/tues-test/proba.git .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: buildah bud -t git.rangelovk.xyz/tues-test/proba:latest .
|
run: |
|
||||||
|
buildah --storage-driver vfs bud \
|
||||||
|
--isolation chroot \
|
||||||
|
-t git.rangelovk.xyz/tues-test/proba:latest .
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: buildah push --creds "rangelovk:${{ secrets.REGISTRY_TOKEN }}" git.rangelovk.xyz/tues-test/proba:latest
|
run: |
|
||||||
|
buildah --storage-driver vfs push \
|
||||||
|
--creds "rangelovk:${{ secrets.REGISTRY_TOKEN }}" \
|
||||||
|
git.rangelovk.xyz/tues-test/proba:latest
|
||||||
Loading…
Add table
Add a link
Reference in a new issue