Skip to content

Instantly share code, notes, and snippets.

@mehd-io
Created November 22, 2021 11:32
Show Gist options
  • Save mehd-io/1c8b9ece246ced14ee6ed2397f6a9d5e to your computer and use it in GitHub Desktop.
Save mehd-io/1c8b9ece246ced14ee6ed2397f6a9d5e to your computer and use it in GitHub Desktop.
medium-python-api-boilerplate Github Actions snippet
- 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