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:
|
docker:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: ['ubuntu-latest']
|
arch: ['ubuntu-latest', 'arm-ubuntu-latest']
|
||||||
go-version: ['1.20']
|
go-version: ['1.20']
|
||||||
git-version: ['2.38.4']
|
git-version: ['2.38.4']
|
||||||
golangci-lint-version: ['1.51.2']
|
golangci-lint-version: ['1.51.2']
|
||||||
|
@ -38,8 +38,7 @@ jobs:
|
||||||
uses: https://github.com/docker/build-push-action@v4
|
uses: https://github.com/docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
tags: gitea/test_env:linux-${{ matrix.go-version }}-${{ steps.arch.outputs.value }}
|
||||||
tags: gitea/test_env:linux-${{ matrix.go-version }}
|
|
||||||
build-args: |
|
build-args: |
|
||||||
GOLANG_VERSION=${{ matrix.go-version }}
|
GOLANG_VERSION=${{ matrix.go-version }}
|
||||||
GIT_VERSION=${{ matrix.git-version }}
|
GIT_VERSION=${{ matrix.git-version }}
|
||||||
|
|
Loading…
Reference in New Issue