Merge pull request #2270 from openziti/fix-quickstart-release-check-c… #21
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: Test Deployments | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# cancel older, redundant runs of same workflow on same branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
docker-deployments: | |
name: Test the Docker Deployments | |
runs-on: ubuntu-latest | |
env: | |
ZIGGY_UID: 1001 # let container EUID run-as GHA "runner" user to share cache, etc. | |
steps: | |
- name: Shallow checkout | |
uses: actions/checkout@v4 | |
- name: Install Go | |
id: setup-go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- name: Run the Compose Test Script | |
shell: bash | |
run: dist/docker-images/ziti-controller/compose.test.bash | |
env: | |
ZITI_GO_VERSION: ${{ steps.setup-go.outputs.go-version }} |