test-env/.gitea/workflows/dry-run.yaml

27 lines
703 B
YAML
Raw Normal View History

2023-03-04 13:52:33 +05:30
name: ci
on:
pull_request:
jobs:
docker:
strategy:
matrix:
go-version: ['1.20']
git-version: ['2.38.4']
2023-03-05 09:47:40 +05:30
golangci-lint-version: ['1.51.2']
2023-03-05 09:31:25 +05:30
runs-on: ubuntu-latest
2023-03-04 13:52:33 +05:30
steps:
- uses: actions/checkout@v3
- name: setup buildx
uses: https://github.com/docker/setup-buildx-action@v2
- name: build image
uses: https://github.com/docker/build-push-action@v4
with:
push: false
2023-03-05 09:31:25 +05:30
tags: gitea/test_env:linux-${{ matrix.go-version }}-amd64
2023-03-04 13:52:33 +05:30
build-args: |
GOLANG_VERSION=${{ matrix.go-version }}
GIT_VERSION=${{ matrix.git-version }}
GOLANGCI_LINT_VERSION=${{ matrix.golangci-lint-version }}