This commit is contained in:
parent
b91ea3677a
commit
fa24b2187f
@ -9,19 +9,25 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-push:
|
build-push:
|
||||||
runs-on: podman
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login to Gitea registry
|
- name: Login to Gitea registry
|
||||||
run: |
|
uses: docker/login-action@v2
|
||||||
podman login git.joshua-se.com -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
|
with:
|
||||||
|
registry: git.joshua-se.com
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
run: |
|
run: |
|
||||||
podman build -t git.joshua-se.com/joshuase96/silverblue-custom:latest .
|
docker build -f Containerfile -t git.joshua-se.com/joshuase96/silverblue-custom:latest .
|
||||||
|
|
||||||
- name: Push Image
|
- name: Push Image
|
||||||
run: |
|
run: |
|
||||||
podman push git.joshua-se.com/joshuase96/silverblue-custom:latest
|
docker push git.joshua-se.com/joshuase96/silverblue-custom:latest
|
Loading…
Reference in New Issue
Block a user