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