Files
buildechoip/.gitea/workflows/build.yaml
Elia 3686386c0a
All checks were successful
Build EchoIP / Build EchoIP (push) Successful in 1m5s
Update
2023-06-15 13:52:10 +02:00

39 lines
1.0 KiB
YAML

name: "Build EchoIP"
on:
push:
branches:
- "main"
schedule:
- cron: '0 12 * * *'
jobs:
build:
name: "Build EchoIP"
runs-on: ubuntu-latest
steps:
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Set up QEMU
uses: https://github.com/docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2
- name: "Login to Private Container Registry"
uses: https://github.com/docker/login-action@v2
with:
registry: git.ponz.io
username: ${{ gitea.repository_owner }}
password: ${{ secrets.REG_TOKEN }}
- name: "Checkout"
uses: https://github.com/actions/checkout@v3
with:
submodules: "true"
- name: Build and push
uses: https://github.com/docker/build-push-action@v4
with:
context: ./echoip/
platforms: linux/amd64
push: true
tags: |
git.ponz.io/elia/echoip:latest