Files
dotfiles/.gitea/workflows/nightly_docker_build.yml
Shaun Setlock b04bc45875
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m1s
Updated cron time.
2025-05-06 20:54:17 -04:00

36 lines
826 B
YAML

# .gitea/workflows/docker-build-push.yml
name: Build and Push Docker Image
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: gitea.setlock.net
username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: ./tools
push: true
platforms: linux/amd64
tags: |
gitea.setlock.net/shaun/dev-container:nightly