fix(ci): use podman rather than docker
Some checks failed
Publish docker image / Publish (push) Failing after 1m20s
Some checks failed
Publish docker image / Publish (push) Failing after 1m20s
This commit is contained in:
parent
3fc4fd9575
commit
35a7ac3aa8
1 changed files with 4 additions and 8 deletions
|
@ -17,14 +17,10 @@ jobs:
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: "nix --extra-experimental-features 'nix-command,flakes' build .#docker"
|
run: "nix --extra-experimental-features 'nix-command,flakes' build .#docker"
|
||||||
- name: Load image
|
- name: Load image
|
||||||
run: "docker load < result"
|
run: "podman load < result"
|
||||||
- name: Retag image
|
- name: Retag image
|
||||||
run: "docker image tag aci-backend:latest git.ashhhleyyy.dev/ash/aci:latest && docker image tag aci-backend:latest git.ashhhleyyy.dev/ash/aci:${{github.sha}}"
|
run: "podman image tag aci-backend:latest git.ashhhleyyy.dev/ash/aci:latest && podman image tag aci-backend:latest git.ashhhleyyy.dev/ash/aci:${{github.sha}}"
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
uses: docker/login-action@v3
|
run: "podman login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} git.ashhhleyyy.dev"
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Push images
|
- name: Push images
|
||||||
run: "docker push git.ashhhleyyy.dev/ash/aci:latest git.ashhhleyyy.dev:${{github.sha}}"
|
run: "podman push git.ashhhleyyy.dev/ash/aci:latest git.ashhhleyyy.dev:${{github.sha}}"
|
||||||
|
|
Loading…
Reference in a new issue