0
0

Updated 4get.yaml

This commit is contained in:
opnxng 2023-11-08 21:55:08 +08:00 committed by Opnxng
parent f50e66727b
commit 31bf1ff72c

View File

@ -5,12 +5,11 @@ env:
REMOTE_REPO: https://git.lolcat.ca/lolcat/4get.git REMOTE_REPO: https://git.lolcat.ca/lolcat/4get.git
BUILD_PLATFORM: linux/arm64,linux/amd64 BUILD_PLATFORM: linux/arm64,linux/amd64
on: on:
# schedule: schedule:
# - cron: "0 0 * * *" # at midnight - cron: "0 0 * * *" # at midnight
push: push:
paths: paths:
- '.gitea/workflows/4get.yaml' - '.gitea/workflows/4get.yaml'
# pinned to latest working version
jobs: jobs:
build: build:
@ -46,7 +45,6 @@ jobs:
mkdir temp mkdir temp
cd temp cd temp
git clone ${REMOTE_REPO} . git clone ${REMOTE_REPO} .
git checkout fa9dc4d6efc593b7301229c18b058d90024c939e # checkout last working verison
docker-buildx build \ docker-buildx build \
--platform ${BUILD_PLATFORM} \ --platform ${BUILD_PLATFORM} \
-t git.opnxng.com/${{ gitea.repository_owner }}/${REPO_NAME}:latest \ -t git.opnxng.com/${{ gitea.repository_owner }}/${REPO_NAME}:latest \