fix buildx
This commit is contained in:
parent
f06e833cf0
commit
8b888adeed
11
.github/workflows/buildx.yml
vendored
11
.github/workflows/buildx.yml
vendored
@ -11,8 +11,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
docker-file:
|
||||
- path: latest
|
||||
tags: "latest"
|
||||
- tags: "latest"
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
steps:
|
||||
@ -58,8 +57,8 @@ jobs:
|
||||
if: success() && !contains(github.ref, 'master')
|
||||
with:
|
||||
push: false
|
||||
context: ./${{ matrix.docker-file.path }}
|
||||
file: ./${{ matrix.docker-file.path }}/Dockerfile
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
build-args: REFRESHED_AT=$(date +%Y-%m-%d)
|
||||
platforms: ${{ matrix.docker-file.platforms }}
|
||||
tags: ${{ steps.prepare.outputs.tags }}
|
||||
@ -76,8 +75,8 @@ jobs:
|
||||
if: success() && contains(github.ref, 'master')
|
||||
with:
|
||||
push: true
|
||||
context: ./${{ matrix.docker-file.path }}
|
||||
file: ./${{ matrix.docker-file.path }}/Dockerfile
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
build-args: REFRESHED_AT=$(date +%Y-%m-%d)
|
||||
platforms: ${{ matrix.docker-file.platforms }}
|
||||
tags: ${{ steps.prepare.outputs.tags }}
|
||||
|
Loading…
Reference in New Issue
Block a user