added woodpecker, updated build to update latest
All checks were successful
Build and Push Image / build-and-push (push) Successful in 6m21s

This commit is contained in:
2025-08-13 21:48:08 -04:00
parent e832ccf07e
commit 165adb2775
2 changed files with 76 additions and 28 deletions

View File

@@ -1,37 +1,39 @@
name: "Build and Push Image"
on:
push:
tags:
- "v*"
push:
tags:
- "v*"
jobs:
build-and-push:
runs-on: ubuntu-latest
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkou code
uses: actions/checkout@v4
- name: Set up Docker Build
uses: docker/setup-buildx-action@v3
steps:
- name: Checkou code
uses: actions/checkout@v4
- name: Login
uses: docker/login-action@v3
with:
registry: git.kaisei.app
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Set up Docker Build
uses: docker/setup-buildx-action@v3
- name: Extract tag version
id: extract_tag
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Login
uses: docker/login-action@v3
with:
registry: git.kaisei.app
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
file: AobaServer/Dockerfile
context: .
push: true
tags: git.kaisei.app/amatsugu/aoba:${{ env.VERSION }}
build-args: VERSION=${{ env.VERSION }}
- name: Extract tag version
id: extract_tag
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Build and Push
uses: docker/build-push-action@v5
with:
file: AobaServer/Dockerfile
context: .
push: true
tags: |
git.kaisei.app/amatsugu/aoba:${{ env.VERSION }}
git.kaisei.app/amatsugu/aoba:latest
build-args: VERSION=${{ env.VERSION }}