tests: remove azblob tests and add pushing to artifactory #41
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: validate | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
- 'v[0-9]+.[0-9]+' | |
tags: | |
- 'v*' | |
- 'dockerfile/*' | |
pull_request: | |
env: | |
# it is ok to the the upstream image here, beacause the REPO_SLUG_ORIGIN is | |
# only used to set the buildx context for the steps where other builds and | |
# tests will take place, like the Ubuntu-based builds | |
REPO_SLUG_ORIGIN: "moby/buildkit:latest" | |
BUILDX_VERSION: "v0.9.1" # leave empty to use the one available on GitHub virtual environment | |
jobs: | |
validate: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- script: ./hack/lint | |
- script: ./hack/validate-vendor | |
- script: ./hack/validate-generated-files | |
- script: ./hack/validate-shfmt | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
version: ${{ env.BUILDX_VERSION }} | |
driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} | |
buildkitd-flags: --debug | |
- | |
name: Run | |
run: | | |
${{ matrix.script }} |