Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Sep 1, 2023
1 parent 054f4bb commit 8f946b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-20.04
env:
REGISTRY: ghcr.io
IMAGE_NAME: betagouv/data-inclusion-api
IMAGE_NAME: ${{ github.repository }}-api

permissions:
contents: read
Expand Down Expand Up @@ -52,9 +52,6 @@ jobs:
type=ref,event=pr
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
- name: start services
env:
API_VERSION: ${{ github.sha }}
AIRFLOW_CONN_S3: ${{ steps.set-outputs.outputs.airflow_conn_s3 }}
AIRFLOW_CONN_PG: ${{ steps.set-outputs.outputs.airflow_conn_pg }}
API_SECRET_KEY: ${{ secrets.API_SECRET_KEY }}
Expand Down
3 changes: 1 addition & 2 deletions deployment/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ services:
condition: service_completed_successfully

api:
image: data-inclusion/api
build: ../../api
image: betagouv/data-inclusion-api:${API_VERSION}
restart: always
ports:
- 8000:8000
Expand Down

0 comments on commit 8f946b2

Please sign in to comment.