Files
oki.cx-file-share/.gitea/workflows/image-deploy.yaml
dagger 969cb8f0a6
All checks were successful
Test and Build Docker Image / Build-Image (push) Successful in 2m21s
Update .gitea/workflows/image-deploy.yaml
2026-06-16 10:57:42 -04:00

30 lines
919 B
YAML

name: Test and Build Docker Image
run-name: 🐋
on: [push]
jobs:
Build-Image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
#- name: Set up QEMU
#uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: 'network=host'
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: git.oki.cx
username: ${{ gitea.repository_owner }}
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
push: true
tags: git.oki.cx/${{ gitea.repository }}:latest