💚 Fix: Use ACT image and use docker

This commit is contained in:
James Musselman 2024-07-02 13:49:18 -05:00
parent 2fd86a0094
commit 0f07fe7d58
No known key found for this signature in database
GPG key ID: 1DAEFF35ECB5D6DB

View file

@ -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 }}