Files
buildechoip/.gitea/workflows/build.yaml
Elia 5f873fa6d8
Some checks failed
Build EchoIP / Build EchoIP (push) Failing after 6s
Update
2023-06-15 13:24:22 +02:00

39 lines
1.1 KiB
YAML

name: "Build EchoIP"
on:
push:
branches:
- "main"
schedule:
- cron: '0 12 * * *'
jobs:
build:
name: "Build EchoIP"
runs-on: ubuntu-latest
defaults:
run:
working-directory: /repo
steps:
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: "Checkout"
uses: https://github.com/actions/checkout@v3
repository: https://github.com/mpolden/echoip
- 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: Build and push
uses: https://github.com/docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: true
tags: |
git.ponz.io/elia/echoip:latest