Skip to content

Commit

Permalink
ar(feat) [DPTM-8] Dockerize and GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed Aug 24, 2024
1 parent a7474cf commit d283872
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_gcp_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ jobs:
colima start
- name: hypnos::deploy_prod::docker::Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: docker/login-action@v6
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: hypnos::deploy_prod::docker::Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: hypnos::deploy_prod::docker::Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@v6
with:
context: .
push: true
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ services:
build:
args:
- API_URL=${API_URL}
- AUTH_URL=${AUTH_URL}
- MAIN_URL=${MAIN_URL}
- APPLE_CLIENT_ID=${APPLE_CLIENT_ID}
- APPLE_CLIENT_SECRET=${APPLE_CLIENT_SECRET}
- AUTH_SECRET=${AUTH_SECRET}
- AUTH_TRUST_HOST=${AUTH_TRUST_HOST}
- AUTH_URL=${AUTH_URL}
- EMAIL_FROM=${EMAIL_FROM}
- EMAIL_SERVER=${EMAIL_SERVER}
- FACEBOOK_CLIENT_ID=${FACEBOOK_CLIENT_ID}
Expand All @@ -25,7 +26,6 @@ services:
- KV_REST_API_READ_ONLY_TOKEN=${KV_REST_API_READ_ONLY_TOKEN}
- KV_REST_API_TOKEN=${KV_REST_API_TOKEN}
- KV_URL=${KV_URL}
- MAIN_URL=${MAIN_URL}
- MONGODB_DATABASE=${MONGODB_DATABASE}
- MONGODB_DEFAULT_ORG=${MONGODB_DEFAULT_ORG}
- MONGODB_ORGS_DATABASE=${MONGODB_ORGS_DATABASE}
Expand Down

0 comments on commit d283872

Please sign in to comment.