ci: create alpine images to allow running commands inside the contain… #239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Push' | |
on: | |
push: | |
branches: master | |
tags: v* | |
concurrency: | |
group: ci-tests-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
call-lint: | |
uses: ./.github/workflows/_golangci-lint.yml | |
call-test: | |
uses: ./.github/workflows/_test.yml | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN}} | |
call-e2e: | |
uses: ./.github/workflows/_e2e.yml | |
call-gorelease: | |
needs: [call-lint, call-test, call-e2e] | |
uses: ./.github/workflows/_gorelease.yml | |
call-buildx: | |
needs: call-gorelease | |
uses: ./.github/workflows/_buildx.yml | |
call-buildx-alpine: | |
needs: call-gorelease | |
# only build on pull requests from the same repo for now | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
uses: ./.github/workflows/_buildx.yml | |
with: | |
tag_prefix: alpine- | |
dockerfile: Dockerfile.alpine |