Compare commits
2 commits
65429c98da
...
8f78963464
Author | SHA1 | Date | |
---|---|---|---|
Marko Korhonen | 8f78963464 | ||
Marko Korhonen | 8143dabd09 |
|
@ -1,17 +1,30 @@
|
|||
on: [push]
|
||||
name: Build Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: "0 6 * * 7"
|
||||
|
||||
jobs:
|
||||
build_image:
|
||||
name: Build and publish image
|
||||
runs-on: docker
|
||||
if: env.SCHEDULED == 'true' || !contains(github.event.commits[0].message, '[skip ci]')
|
||||
|
||||
env:
|
||||
SCHEDULED: ${{ github.event_name == 'schedule' }}
|
||||
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker registry (Forgejo)
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.korhonen.cc
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
|
|
|
@ -17,6 +17,10 @@ was too old.
|
|||
** npm and nodejs
|
||||
** git
|
||||
|
||||
== Updates
|
||||
|
||||
This image is built weekly on sunday at 06:00 EET/EEST on the `archlinux:latest` image.
|
||||
|
||||
== Installation
|
||||
|
||||
* link:https://git.korhonen.cc/FunctionalHacker/-/packages/container/hugo-asciidoc-docker-ci/latest[Download Docker image]
|
||||
|
|
Loading…
Reference in a new issue