2024-02-18 22:30:11 +00:00
|
|
|
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
|
2024-04-01 05:13:35 +00:00
|
|
|
run: echo "${{ secrets.PACKAGE_PUBLISH_TOKEN }}" | docker login --username finn --password-stdin git.janky.solutions
|
2024-02-18 22:30:11 +00:00
|
|
|
- name: build container
|
|
|
|
uses: docker/build-push-action@v4
|
|
|
|
with:
|
|
|
|
file: Containerfile
|
|
|
|
tags: git.janky.solutions/finn/s3staticsite:latest
|
|
|
|
push: true
|