From 385d246037e9d6e8f007c8db795a4feb32aacd1d Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Fri, 23 Feb 2024 16:41:59 +0000 Subject: [PATCH] Podman doesn't need a socket Signed-off-by: Martyn Ranyard --- .forgejo/workflows/ci.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index dfd91f1..c39371e 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -2,14 +2,12 @@ on: [push] jobs: test: runs-on: docker - env: - DOCKER_HOST=tcp://localhost:2367 steps: - run: echo All Good - - run: apt update && apt install docker.io -y + - run: apt update && apt install podman -y - name: Check out repository code uses: actions/checkout@v3 - run: pwd ; echo ""; ls; env - - run: DOCKER_HOST=tcp://127.0.0.11:2367 docker build -t git.martyn.berlin/martyn/fat-ssh:latest . - - run: DOCKER_HOST=tcp://127.0.0.11:2367 docker login -P ${{ secrets.PUSH_TOKEN }} -u martyn git.martyn.berlin - - run: DOCKER_HOST=tcp://127.0.0.11:2367 docker push git.martyn.berlin/martyn/fat-ssh:latest + - run: podman build -t git.martyn.berlin/martyn/fat-ssh:latest . + - run: podman login -P ${{ secrets.PUSH_TOKEN }} -u martyn git.martyn.berlin + - run: podman push git.martyn.berlin/martyn/fat-ssh:latest