Skip to content

Commit ce243e5

Browse files
fix(ci): images versions
1 parent 6f32e14 commit ce243e5

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/docker-build-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
strategy:
5858
matrix:
5959
include:
60+
- service: app
61+
variant: production
62+
github_env: production
6063
- service: app
6164
variant: staging
6265
github_env: staging

.github/workflows/main-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
deploy-sandbox:
5454
needs: [test, build]
55-
if: github.ref == 'refs/heads/staging'
55+
if: github.ref == 'refs/heads/main'
5656
uses: ./.github/workflows/terraform-deploy.yml
5757
with:
5858
branch: staging

terraform/domains.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import {
2-
to = scaleway_container_domain.api
3-
id = "fr-par/4c1fa6a5-0b72-4930-bffd-b35873a3ae46"
4-
}
5-
61
resource "scaleway_container_domain" "api" {
72
container_id = scaleway_container.api.id
83
hostname = var.api_hostname

terraform/envs/sandbox.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workspace = "sandbox"
2-
env = "staging" # Staging while testing sandbox
2+
env = "production"
33

44
api_hostname = "api.bac-a-sable.api-engagement.beta.gouv.fr"
55
app_hostname = "app.bac-a-sable.api-engagement.beta.gouv.fr"

0 commit comments

Comments
 (0)