Update .forgejo/workflows/test-registry.yaml
Some checks failed
build-image / build (push) Failing after 38s
Some checks failed
build-image / build (push) Failing after 38s
This commit is contained in:
parent
c49cec3efd
commit
317e6bff04
1 changed files with 9 additions and 8 deletions
|
|
@ -14,14 +14,15 @@ jobs:
|
|||
git clone https://rangelovk:${{ secrets.REGISTRY_TOKEN }}@git.rangelovk.xyz/tues-test/proba.git .
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
- name: Build image
|
||||
- name: Login to registry
|
||||
run: |
|
||||
buildah --storage-driver vfs bud \
|
||||
--isolation chroot \
|
||||
-t git.rangelovk.xyz/tues-test/proba:latest .
|
||||
echo "${{ forgejo.token }}" | buildah login \
|
||||
--username "${{ forgejo.actor }}" \
|
||||
--password-stdin \
|
||||
git.rangelovk.xyz
|
||||
|
||||
- name: Build image
|
||||
run: buildah bud -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
|
||||
run: buildah push git.rangelovk.xyz/tues-test/proba:latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue