💚 Fix: Use ACT image and use docker
This commit is contained in:
parent
2fd86a0094
commit
0f07fe7d58
1 changed files with 10 additions and 16 deletions
|
@ -3,12 +3,12 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
paths:
|
paths:
|
||||||
- "**/editor_templates/"
|
- "editor_templates/"
|
||||||
- "**/templates/"
|
- "templates/"
|
||||||
- "**/static/"
|
- "static/"
|
||||||
- "**/*.go"
|
- "*.go"
|
||||||
- "**/*.sh"
|
- "*.sh"
|
||||||
- "**/Dockerfile"
|
- "Dockerfile"
|
||||||
jobs:
|
jobs:
|
||||||
Clone and Build:
|
Clone and Build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -36,18 +36,12 @@ jobs:
|
||||||
echo "No Testing to do currently.."
|
echo "No Testing to do currently.."
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
podman build -t notatio .
|
docker build -t notatio .
|
||||||
Push-Image:
|
Push-Image:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Push image to registry
|
- name: Push image to registry
|
||||||
run: |
|
run: |
|
||||||
podman login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} docker.io
|
docker login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} docker.io
|
||||||
podman push notatio ${{ vars.registry }}
|
docker push notatio ${{ vars.registry }}
|
||||||
podman logout ${{ vars.registry }}
|
docker logout ${{ vars.registry }}
|
||||||
Cleanup:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- name: Cleanup image
|
|
||||||
run: |
|
|
||||||
podman rmi -a -f
|
|
||||||
|
|
Loading…
Reference in a new issue