ci : dmgnr
CI / Verify (push) Failing after 43s
CI / Build immutable images and deploy (push) Has been skipped

This commit is contained in:
2026-08-29 13:45:50 +00:00 Unverified
parent dc5c667b4e
commit 1b5e57aee0
3 changed files with 20 additions and 38 deletions
+15 -36
View File
@@ -6,7 +6,6 @@ on:
env:
REGISTRY_IMAGE: registry.neko-piranha.ts.net/astral/buzz-sheet
REGISTRY_HOST: registry.neko-piranha.ts.net
DEPLOY_NAMESPACE: buzz-sheet
jobs:
@@ -56,44 +55,24 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Sign in to the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY_HOST }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push application image
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
target: app
platforms: linux/arm64
push: true
provenance: false
tags: ${{ env.REGISTRY_IMAGE }}:${{ gitea.sha }}
build-args: |
NEXT_DEPLOYMENT_ID=${{ gitea.sha }}
VCS_REF=${{ gitea.sha }}
run: |
docker build \
--target app \
--build-arg NEXT_DEPLOYMENT_ID=${{ gitea.sha }} \
--build-arg VCS_REF=${{ gitea.sha }} \
--tag ${{ env.REGISTRY_IMAGE }}:${{ gitea.sha }} \
.
docker push ${{ env.REGISTRY_IMAGE }}:${{ gitea.sha }}
- name: Build and push migration image
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
target: migration
platforms: linux/arm64
push: true
provenance: false
tags: ${{ env.REGISTRY_IMAGE }}:migrate-${{ gitea.sha }}
build-args: VCS_REF=${{ gitea.sha }}
run: |
docker build \
--target migration \
--build-arg VCS_REF=${{ gitea.sha }} \
--tag ${{ env.REGISTRY_IMAGE }}:migrate-${{ gitea.sha }} \
.
docker push ${{ env.REGISTRY_IMAGE }}:migrate-${{ gitea.sha }}
- name: Set up kubectl
uses: azure/setup-kubectl@v4