28 lines
755 B
YAML
28 lines
755 B
YAML
name: Build container
|
|
on:
|
|
push:
|
|
schedule:
|
|
- cron: "0 16 * * FRI"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: wesley-latest
|
|
steps:
|
|
- name: Clone repo
|
|
uses: actions/checkout@v4
|
|
- name: Set up Docker Buildx
|
|
uses: https://github.com/docker/setup-buildx-action@v3
|
|
- 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 Docker image
|
|
uses: https://github.com/docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
file: ./Containerfile
|
|
push: true
|
|
tags: git.plabble.org/job79/devcontainer:latest
|