This commit is contained in:
parent
7ce9837b0f
commit
d3c1f3ab00
@ -14,20 +14,18 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Install Podman
|
||||
run: |
|
||||
sudo apt-get install -y podman
|
||||
|
||||
- name: Login to Gitea registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.joshua-se.com
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
run: |
|
||||
podman login git.joshua-se.com -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build Image
|
||||
run: |
|
||||
docker build -t git.joshua-se.com/joshuase96/silverblue-custom:latest .
|
||||
podman build -t git.joshua-se.com/joshuase96/silverblue-custom:latest .
|
||||
|
||||
- name: Push Image
|
||||
run: |
|
||||
docker push git.joshua-se.com/joshuase96/silverblue-custom:latest
|
||||
podman push git.joshua-se.com/joshuase96/silverblue-custom:latest
|
||||
|
Loading…
Reference in New Issue
Block a user