Container
Some checks failed
release-tag / release-image (push) Failing after 2m39s

This commit is contained in:
2025-11-07 09:31:46 +01:00
parent 9dbea6b49b
commit e8e2879652
2 changed files with 52 additions and 0 deletions

44
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,44 @@
name: release-tag
on:
push:
branches: [main]
jobs:
release-image:
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-24.04
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: gitea.marijndoeve.nl
username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: gitea.marijndoeve.nl/${{github.repository_owner}}/dynmap-web
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v6
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
with:
context: containers/web
file: containers/web/Containerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}