22 lines
593 B
YAML
22 lines
593 B
YAML
name: Build and Push Arch Custom Image
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Login to Gitea Registry
|
|
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login gitea.lokcal.de -u loki --password-stdin
|
|
|
|
- name: Build and Push
|
|
run: |
|
|
docker build -t gitea.lokcal.de/loki/arch-runner-custom-image:latest .
|
|
docker push gitea.lokcal.de/loki/arch-runner-custom-image:latest |