File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -500,6 +500,8 @@ jobs:
500500 - get-config
501501 - verify-docker
502502 - windows-smoke-tests
503+ environment :
504+ name : publish-container-images
503505 env :
504506 DEVELOPER_CONFIG_BASE64 : ${{ needs.get-config.outputs.DEVELOPER_CONFIG_BASE64 }}
505507 permissions :
@@ -522,7 +524,12 @@ jobs:
522524 echo "OFFICIAL_PULL_CONTAINER_REGISTRY=$(echo $official_pull_container_registry)" >> $GITHUB_ENV
523525 official_pull_container_registry_directory=$(echo "$DEVELOPER_CONFIG_BASE64" | base64 -d | jq -r '.officialPullContainerRegistry.directory // ""')
524526 echo "OFFICIAL_PULL_CONTAINER_REGISTRY_DIRECTORY=$(echo $official_pull_container_registry_directory)" >> $GITHUB_ENV
525-
527+
528+ - name : test image published
529+ run : |
530+ set -euo pipefail
531+ docker pull "${OFFICIAL_PULL_CONTAINER_REGISTRY}/${OFFICIAL_PULL_CONTAINER_REGISTRY_DIRECTORY}/tyger-server:$(git describe --tags)"
532+
526533 - name : Run GoReleaser
527534 uses : goreleaser/goreleaser-action@v5
528535 env :
You can’t perform that action at this time.
0 commit comments