Files
foundryvtt-docker/.gitea/workflows/build-docker-image-and-push.yaml
T
crovaxon 5e0bb2c931
Build foundry vtt docker image and push to registry / docker (push) Failing after 6s
tested another location for the buildkitd.toml
Manually created on the runner container, just to check if it will still claim if its not there
2024-06-17 10:24:15 +02:00

34 lines
853 B
YAML

name: Build foundry vtt docker image and push to registry
run-name: ${{ gitea.actor }} is building image and pushing to registry
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
# -
# name: Checkout
# uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-config: /etc/buildkitd.toml
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: dockerregistry:5000
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASS }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: foundryvtt-docker:latest