From 0f07fe7d5872f400165c48647e1a4e21398455e8 Mon Sep 17 00:00:00 2001 From: Musselman Date: Tue, 2 Jul 2024 13:49:18 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix:=20Use=20ACT=20image=20and?= =?UTF-8?q?=20use=20docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/workflow.yaml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index cf27d86..1dd936f 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -3,12 +3,12 @@ on: branches: - "main" paths: - - "**/editor_templates/" - - "**/templates/" - - "**/static/" - - "**/*.go" - - "**/*.sh" - - "**/Dockerfile" + - "editor_templates/" + - "templates/" + - "static/" + - "*.go" + - "*.sh" + - "Dockerfile" jobs: Clone and Build: runs-on: docker @@ -36,18 +36,12 @@ jobs: echo "No Testing to do currently.." - name: Build image run: | - podman build -t notatio . + docker build -t notatio . Push-Image: runs-on: docker steps: - name: Push image to registry run: | - podman login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} docker.io - podman push notatio ${{ vars.registry }} - podman logout ${{ vars.registry }} -Cleanup: - runs-on: docker - steps: - - name: Cleanup image - run: | - podman rmi -a -f + docker login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} docker.io + docker push notatio ${{ vars.registry }} + docker logout ${{ vars.registry }}