mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-27 07:31:37 +01:00
Update workflow
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
version: latest
|
||||
args: release --skip-publish --rm-dist
|
||||
@@ -73,12 +73,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: go
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Prepare
|
||||
id: prepare
|
||||
run: |
|
||||
DOCKER_USERNAME=crazymax
|
||||
DOCKER_IMAGE=crazymax/${{ github.event.repository.name }}
|
||||
DOCKER_IMAGE=crazymax/diun
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le,linux/s390x
|
||||
VERSION=edge
|
||||
|
||||
@@ -104,10 +107,7 @@ jobs:
|
||||
${TAGS} --file Dockerfile .
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: crazy-max/ghaction-docker-buildx@v2
|
||||
-
|
||||
name: Docker Buildx (build)
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user