forked from external-repos/noisedash
Update docker-image.yml
Start building multi-platform images with the same tag names
This commit is contained in:
14
.github/workflows/docker-image.yml
vendored
14
.github/workflows/docker-image.yml
vendored
@@ -25,18 +25,10 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push linux/amd64
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
push: true
|
||||
tags: noisedash/noisedash:latest
|
||||
-
|
||||
name: Build and push linux/arm/v7
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/arm/v7
|
||||
push: true
|
||||
tags: noisedash/noisedash:latest-armv7
|
||||
tags: noisedash/noisedash:latest,noisedash/noisedash:${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user