chore(deps): Bump docker/setup-buildx-action from 1 to 3 #19
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: ci | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
if: github.ref == 'refs/heads/master' | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- | |
name: base | |
run: make base | |
- | |
name: unit-tests | |
run: make unit-tests | |
- | |
name: codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
files: ./_out/coverage.txt | |
- | |
name: unit-tests-race | |
run: make unit-tests-race | |
- | |
name: lint | |
run: make lint | |
- | |
name: runtime | |
run: make runtime | |
- | |
name: image-runtime | |
run: make image-runtime | |
- | |
name: push-image-runtime | |
if: github.ref == 'refs/heads/master' | |
env: | |
PUSH: "true" | |
run: make image-runtime | |
- | |
name: push-image-runtime-latest | |
if: github.ref == 'refs/heads/master' | |
env: | |
PUSH: "true" | |
run: make image-runtime TAG=latest |