chore(build.yml): update docker/build-push-action to v4

chore(build.yml): remove unnecessary indentation in build step
chore(build.yml): remove commented out platform option
chore(build.yml): remove unnecessary build-args indentation
chore(build.yml): remove unnecessary tags indentation
This commit is contained in:
mrinc 2023-07-25 11:32:46 +02:00
parent 5abd56b063
commit b9feb92cd1

View file

@ -33,13 +33,12 @@ jobs:
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./
file: ./Dockerfile
platforms: linux/amd64 # ,linux/arm64/v8
push: true
build-args:
HUGO_VERSION=${{ matrix.hugo-version }}
build-args: HUGO_VERSION=${{ matrix.hugo-version }}
tags: betterweb/hugo:${{ matrix.hugo-version }}-extended