devcontainer/.gitea/workflows/ci.yaml
Job79 8f4c57d178
All checks were successful
Container build / container-build (push) Successful in 5m15s
ci: use nexus runner
2024-12-19 19:24:01 +01:00

33 lines
840 B
YAML

name: Container build
on:
push:
schedule:
- cron: '0 16 * * FRI'
jobs:
container-build:
runs-on: citadel
if: gitea.ref == 'refs/heads/main'
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Set up BuildX
uses: docker/setup-buildx-action@v2
with:
endpoint: 'unix:///var/run/docker.sock'
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./Containerfile
push: true
tags: git.plabble.org/job79/dev:latest