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:
parent
5abd56b063
commit
b9feb92cd1
1 changed files with 2 additions and 3 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue