22 lines
571 B
YAML
22 lines
571 B
YAML
|
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 image (build only)
|
||
|
uses: docker/build-push-action@v6
|
||
|
with:
|
||
|
tags: git.faercol.me/faercol/hugo-relie:test
|