2024-09-16 17:35:30 +00:00
|
|
|
name: Create dokuwiki docker image
|
2024-09-16 12:54:30 +00:00
|
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
|
|
on: [push]
|
2024-09-16 12:07:03 +00:00
|
|
|
|
|
|
|
jobs:
|
2024-09-16 12:54:30 +00:00
|
|
|
Explore-Gitea-Actions:
|
2024-09-16 12:52:23 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-09-16 12:07:03 +00:00
|
|
|
steps:
|
2024-09-16 13:06:06 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
|
|
|
|
- name: Set up Docker BuildX
|
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
with: # replace it with your local IP
|
|
|
|
config-inline: |
|
|
|
|
[registry."registry.tuxnet.lan"]
|
|
|
|
http = true
|
2024-09-16 17:22:03 +00:00
|
|
|
insecure = true
|
|
|
|
|
|
|
|
- name: Build and push
|
|
|
|
uses: docker/build-push-action@v4
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
file: ./Dockerfile
|
|
|
|
platforms: |
|
|
|
|
linux/amd64
|
|
|
|
push: true
|
|
|
|
tags: | # replace it with your local IP and tags
|
2024-09-16 18:46:47 +00:00
|
|
|
registry.tuxnet.lan/web/dokuwiki:${{ steps.meta_base.outputs.tags }}
|