build two seperate images

This commit is contained in:
techknowlogick 2023-03-05 00:20:47 -05:00
parent dc425c685a
commit b38112892e
1 changed files with 2 additions and 3 deletions

View File

@ -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 }}