s3staticsite/.forgejo/workflows/docker-build.yaml
Finn 06ab2e9215
All checks were successful
/ build-container (push) Successful in 1m44s
fix logging into container registry
2024-03-31 22:13:35 -07:00

19 lines
553 B
YAML

on:
push:
branches:
- 'main'
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
- name: build container
uses: docker/build-push-action@v4
with:
file: Containerfile
tags: git.janky.solutions/finn/s3staticsite:latest
push: true