fix(ci): use podman rather than docker
Some checks failed
Publish docker image / Publish (push) Failing after 1m20s

This commit is contained in:
Ashhhleyyy 2024-02-18 02:15:58 +00:00
parent 3fc4fd9575
commit 35a7ac3aa8
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -17,14 +17,10 @@ jobs:
- name: Build image
run: "nix --extra-experimental-features 'nix-command,flakes' build .#docker"
- name: Load image
run: "docker load < result"
run: "podman load < result"
- 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
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
run: "podman login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} git.ashhhleyyy.dev"
- 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}}"