This commit is contained in:
@@ -7,23 +7,11 @@ jobs:
|
|||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Build and push Docker image
|
||||||
uses: actions/checkout@v4
|
uses: https://code.thetadev.de/actions/kaniko@v1
|
||||||
|
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
with:
|
||||||
registry: gitea.paddington.fi # Replace with your Gitea instance URL
|
registry: gitea.paddington.fi
|
||||||
|
image: myapp:latest
|
||||||
username: make
|
username: make
|
||||||
password: ${{ secrets.TOKEN }}
|
password: ${{ secrets.TOKEN }}
|
||||||
|
cache: true
|
||||||
- name: Build and Push
|
|
||||||
uses: docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
tags: |
|
|
||||||
gitea.paddington.fi/make/your-repo:latest
|
|
||||||
gitea.paddington.fi/make/your-repo:${{ github.sha }}
|
|
||||||
Reference in New Issue
Block a user