Compare commits

..

5 commits

Author SHA1 Message Date
2267747401 Add article on DNS challenge
All checks were successful
/ docker-build-only (push) Successful in 24s
/ docker-build-push (push) Successful in 27s
2024-09-08 15:21:06 +02:00
21730d095b Fix deprecated option in the config 2024-09-08 15:21:06 +02:00
9160cd88ed Add support for clickable headers 2024-09-08 15:21:06 +02:00
d3d859baa9 Remove woodpecker config
All checks were successful
/ docker-build-only (push) Successful in 25s
/ docker-build-push (push) Successful in 25s
2024-08-05 20:59:50 +02:00
14c580163d Add forgejo action CI
Some checks failed
ci/woodpecker/push/test Pipeline was successful
/ docker-build-only (push) Successful in 28s
/ docker-build-push (push) Successful in 32s
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/release Pipeline failed
2024-08-05 20:55:48 +02:00
5 changed files with 58 additions and 51 deletions

View file

@ -0,0 +1,21 @@
on:
push:
branches:
- "main"
jobs:
docker-build-push:
runs-on: cth-ubuntu-latest
steps:
- name: set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: login to repository
uses: docker/login-action@v3
with:
registry: git.faercol.me
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: build and push image
uses: docker/build-push-action@v6
with:
push: true
tags: git.faercol.me/faercol/hugo-relie:latest

View file

@ -0,0 +1,21 @@
on:
push:
tags:
- "**"
jobs:
docker-build-push:
runs-on: cth-ubuntu-latest
steps:
- name: set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: login to repository
uses: docker/login-action@v3
with:
registry: git.faercol.me
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: build and push image
uses: docker/build-push-action@v6
with:
push: true
tags: git.faercol.me/faercol/hugo-relie:${{ gitea.ref_name }}

View file

@ -0,0 +1,16 @@
on:
push:
branches:
- "**"
- "!main"
jobs:
docker-build-only:
runs-on: cth-ubuntu-latest
steps:
- name: set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: build image (build only)
uses: docker/build-push-action@v6
with:
push: false
tags: faercol/hugo-relie:latest

View file

@ -1,20 +0,0 @@
depends_on:
- test
steps:
- name: docker-push-tag
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.faercol.me
repo: git.faercol.me/faercol/hugo-relie
auto_tag: true
platforms:
- linux/amd64
username:
from_secret: GIT_USERNAME
password:
from_secret: GIT_PASSWORD
when:
event: [tag]

View file

@ -1,31 +0,0 @@
steps:
- name: docker-build-only
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
repo: git.faercol.me/faercol/hugo-relie
tags: latest
dry_run: true
platforms:
- linux/amd64
when:
branch:
exclude:
- main
- name: docker-build-push
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
repo: git.faercol.me/faercol/hugo-relie
registry: git.faercol.me
tags: latest
username:
from_secret: GIT_USERNAME
password:
from_secret: GIT_PASSWORD
platforms:
- linux/amd64
when:
branch:
- main