lockserver/.forgejo/workflows/docker-build.yaml
Renovate Bot 6de9f11a48
All checks were successful
/ build-container (push) Successful in 7m47s
Update docker/build-push-action action to v6
2024-09-08 08:02:34 +00:00

22 lines
768 B
YAML

on: [push]
jobs:
build-container:
runs-on: docker
container:
image: library/docker:dind
steps:
- run: apk add --no-cache nodejs git
- name: login to container registry
run: echo "${{ secrets.PACKAGE_PUBLISH_TOKEN }}" | docker login --username finn --password-stdin git.janky.solutions
- uses: https://github.com/docker/metadata-action@v5
id: meta
with:
images: git.janky.solutions/finn/lockserver
- name: build container image
uses: docker/build-push-action@v6
with:
file: Containerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true