Update .gitea/workflows/build.yaml
Some checks are pending
Build and Push Image / Build and push dev image (push) Waiting to run

This commit is contained in:
Ayaka 2024-09-12 20:14:39 +12:00
parent b56eec4301
commit 4e8dbcf542

View File

@ -22,6 +22,9 @@ jobs:
run: | run: |
cd xfce-custom cd xfce-custom
TODAY=$(date +'%Y-%m-%d') TODAY=$(date +'%Y-%m-%d')
REGISTRY=git.stardust.wtf
REPO_OWNER=iridium
IMAGE_NAME=neko
docker build -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-${TODAY} -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-git . docker build -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-${TODAY} -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-git .
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-${TODAY} docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-${TODAY}
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-git docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:xfce-custom-git