Skip to content

Commit

Permalink
Add alpine workflow build
Browse files Browse the repository at this point in the history
  • Loading branch information
0ekk committed Oct 27, 2024
1 parent 194cc5b commit 0377264
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,20 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- branch: main
tag: latest
- branch: alpine
tag: alpine

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ matrix.branch }}

- uses: docker/setup-buildx-action@v3.6.1

Expand All @@ -40,8 +50,8 @@ jobs:
provenance: false
platforms: linux/amd64, linux/arm64
tags: |
ghcr.io/${{ github.repository }}/wechotd
${{ secrets.ALIYUN_REGISTRY_REPOSITORY }}
ghcr.io/${{ github.repository }}/wechotd:${{ matrix.tag }}
${{ secrets.ALIYUN_REGISTRY_REPOSITORY }}:${{ matrix.tag }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 0377264

Please sign in to comment.