feat: initial commit
All checks were successful
Build and publish / build-and-push-arch (push) Successful in 1m8s

This commit is contained in:
Iain Learmonth 2025-07-08 14:58:29 +01:00
commit 9093016b43
4 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,34 @@
name: Build and publish
on:
push:
branches:
- main
jobs:
build-and-push-arch:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
options: -v /dind/docker.sock:/var/run/docker.sock
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to the registry
uses: docker/login-action@v3
with:
registry: guardianproject.dev
username: irl
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
file: Dockerfile
push: true
tags: guardianproject.dev/${{ github.repository }}:12