This commit is contained in:
parent
b91ea3677a
commit
fa24b2187f
@ -9,19 +9,25 @@ on:
|
||||
|
||||
jobs:
|
||||
build-push:
|
||||
runs-on: podman
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Gitea registry
|
||||
run: |
|
||||
podman login git.joshua-se.com -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.joshua-se.com
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build Image
|
||||
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
|
||||
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