Created
November 22, 2021 11:32
-
-
Save mehd-io/1c8b9ece246ced14ee6ed2397f6a9d5e to your computer and use it in GitHub Desktop.
medium-python-api-boilerplate Github Actions snippet
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: Prepare CI image | |
run: | | |
make get-img DOCKER_LAYER=dev PUSH_IMAGE=true | |
- name: Test | |
run: | | |
make test | |
- name: Build & Push app image | |
run: | | |
(make _build-img DOCKER_LAYER=app) && (make push-img DOCKER_LAYER=app) && (echo "APP_IMAGE=$(make get-app-image-registry)" >> $GITHUB_ENV) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment