Skip to content

Instantly share code, notes, and snippets.

@ricardolsmendes
Created October 27, 2021 00:42
Show Gist options
  • Save ricardolsmendes/0550736d651b1be9953064d5061e58b9 to your computer and use it in GitHub Desktop.
Save ricardolsmendes/0550736d651b1be9953064d5061e58b9 to your computer and use it in GitHub Desktop.
GitLab CI step to test the Docker + Cloud SDK image
Test Docker with Cloud SDK image:
stage: test-custom-image
image: $CI_REGISTRY_IMAGE/docker-gcloud:latest
services:
- docker:19.03.12-dind
script:
- gcloud --version
- docker --version
- docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment