build action
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2025-04-19 09:37:36 +02:00
parent eb6f580905
commit 856935a453
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -0,0 +1,30 @@
---
name: Container Publish
on:
push:
tags:
- '*'
schedule:
- cron: "0 12 3 * *"
workflow_dispatch:
jobs:
build-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: docker.asperti.com
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and publish
run: |
docker build -t docker.asperti.com/paspo/borgstore:latest --platform linux/amd64 -f Dockerfile .
docker push docker.asperti.com/paspo/borgstore:latest