27 lines
762 B
YAML
27 lines
762 B
YAML
name: "Build EchoIP"
|
|
on:
|
|
schedule:
|
|
- cron: '0 12 * * *'
|
|
jobs:
|
|
build:
|
|
name: "Build EchoIP"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: https://github.com/actions/checkout@v3
|
|
repository: https://github.com/mpolden/echoip
|
|
- 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
|