first commit
This commit is contained in:
26
build.yaml
Normal file
26
build.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user