Skip to content

Build and Publish CT Docker Images #1306

Build and Publish CT Docker Images

Build and Publish CT Docker Images #1306

name: Build and Publish CT Docker Images
on:
- push # Perform a build of the contents from the branch
- pull_request # Perform a build after merging with the target branch
- workflow_dispatch
jobs:
build_and_release:
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/build_and_release_image.yaml@v1
with:
image-name: cray-smd-test
docker-build-file: test/ct/Dockerfile #the test/ct/Dockerfile is what we want!
docker-build-context: test/ct
enable-pr-comment: true
secrets:
artifactory-username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
artifactory-token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
snyk-token: ${{ secrets.SNYK_TOKEN }}
cosign-gcp-project-id: ${{ secrets.COSIGN_GCP_PROJECT_ID }}
cosign-gcp-sa-key: ${{ secrets.COSIGN_GCP_SA_KEY }}
cosign-key: ${{ secrets.COSIGN_KEY }}