Update .forgejo/workflows/test-registry.yaml
Some checks failed
build-image / build (push) Failing after 1s
Some checks failed
build-image / build (push) Failing after 1s
This commit is contained in:
parent
8c8dff3b70
commit
ae18c0b8ab
1 changed files with 6 additions and 13 deletions
|
|
@ -9,20 +9,13 @@ jobs:
|
|||
container:
|
||||
image: quay.io/buildah/stable
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- 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 \
|
||||
-t git.rangelovk.xyz/tues-test/proba:${{ github.sha }} \
|
||||
.
|
||||
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
|
||||
buildah push \
|
||||
--creds "rangelovk:${{ secrets.REGISTRY_TOKEN }}" \
|
||||
git.rangelovk.xyz/tues-test/proba:${{ github.sha }}
|
||||
run: buildah push --creds "rangelovk:${{ secrets.REGISTRY_TOKEN }}" git.rangelovk.xyz/tues-test/proba:latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue