21 lines
No EOL
636 B
YAML
21 lines
No EOL
636 B
YAML
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout the repo
|
|
uses: actions/checkout@v4
|
|
- name: Setup Docker Buildx
|
|
uses: docker/setup-buildx-action@v1
|
|
- name: Login to Forgejo
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.adrianux.net/ahoemann/
|
|
username: ${{ vars.FORGEJO_USERNAME }}
|
|
password: ${{ secrets.FORGEJO_PASSWORD }}
|
|
- name: Build and Push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
tags: docker pull git.adrianux.net/ahoemann/adrianux.net:1.2.0
|
|
file: Dockerfile |