fix(workflow): revert to using docker
All checks were successful
build image / build (push) Successful in 57s
All checks were successful
build image / build (push) Successful in 57s
This commit is contained in:
parent
b008292a62
commit
475cd5a26b
1 changed files with 5 additions and 6 deletions
|
@ -16,22 +16,21 @@ jobs:
|
|||
- name: Checkout the repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install podman
|
||||
run: |
|
||||
apt-get update && apt-get install -y --no-install-recommends podman
|
||||
- name: Install docker
|
||||
run: apt-get update && apt-get install -y --no-install-recommends docker.io
|
||||
|
||||
- name: Login to registry
|
||||
run: |
|
||||
echo ${REGISTRY_TOKEN} \
|
||||
| podman login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net
|
||||
| docker login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net
|
||||
env:
|
||||
REGISTRY_USER: ${{ vars.REGISTRY_USER }}
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
podman build -t code.bcarlin.net/oci/browsers:latest .
|
||||
docker build -t code.bcarlin.net/oci/browsers:latest .
|
||||
|
||||
- name: Push image
|
||||
run: |
|
||||
podman push code.bcarlin.net/oci/browsers:latest
|
||||
docker push code.bcarlin.net/oci/browsers:latest
|
||||
|
|
Loading…
Reference in a new issue