Files
foundryvtt-docker/.gitea/workflows/check-docker-image.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: unmarshal errors: line 21: mapping key "name" already defined at line 14 line 22: mapping key "uses" already defined at line 16 line 23: mapping key "with" already defined at line 17
Crovaxon 7a442b0631
Build foundry vtt docker image and push to registry / docker (push) Successful in 30s
Changed repository to new public URL, added a workflow to daily check base image for updates and push
2024-06-21 01:13:44 +02:00

35 lines
935 B
YAML

name: Check docker image
on:
schedule:
- cron: '0 6 * * *'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check if update available
id: check
uses: lucacome/docker-image-update-checker@v1
with:
base-image: node:20-alpine
image: gitea.crovaxon.de/crovaxon/foundryvtt-docker:latest
name: Login to Gitea
uses: docker/login-action@v3
with:
registry: gitea.crovaxon.de
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASS }}
if: steps.check.outputs.needs-updating == 'true'
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: gitea.crovaxon.de/crovaxon/foundryvtt-docker
if: steps.check.outputs.needs-updating == 'true'