Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
feat: 尝试编译多平台镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoo committed Jun 25, 2022
1 parent 87273ac commit 27d4e77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
-
name: Get Version
id: get_version
uses: battila7/get-version-action@v2.2.1
-
name: Build and push
if: success() && startsWith(github.ref, 'refs/tags/')
Expand All @@ -66,7 +70,7 @@ jobs:
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386
tags: mcenjoy/opqbot-groupmanager:latest,mcenjoy/opqbot-groupmanager:${{ github.ref }}
tags: mcenjoy/opqbot-groupmanager:latest,${{ format('mcenjoy/opqbot-groupmanager:{0}', steps.get_version.outputs.version) }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down

0 comments on commit 27d4e77

Please sign in to comment.