mirror of https://gitea.com/gitea/test-env.git
build two seperate images
This commit is contained in:
parent
dc425c685a
commit
b38112892e
|
@ -8,7 +8,7 @@ jobs:
|
|||
docker:
|
||||
strategy:
|
||||
matrix:
|
||||
arch: ['ubuntu-latest']
|
||||
arch: ['ubuntu-latest', 'arm-ubuntu-latest']
|
||||
go-version: ['1.20']
|
||||
git-version: ['2.38.4']
|
||||
golangci-lint-version: ['1.51.2']
|
||||
|
@ -38,8 +38,7 @@ jobs:
|
|||
uses: https://github.com/docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: gitea/test_env:linux-${{ matrix.go-version }}
|
||||
tags: gitea/test_env:linux-${{ matrix.go-version }}-${{ steps.arch.outputs.value }}
|
||||
build-args: |
|
||||
GOLANG_VERSION=${{ matrix.go-version }}
|
||||
GIT_VERSION=${{ matrix.git-version }}
|
||||
|
|
Loading…
Reference in New Issue