Update build.yml

Signed-off-by: ChatonDeAru (Romain) <823314+chatondearu@users.noreply.github.com>
This commit is contained in:
ChatonDeAru (Romain) 2024-03-26 11:29:39 +01:00 committed by GitHub
parent 99c6b4679f
commit 21fef73d08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,6 @@ jobs:
password: ${{ secrets.SCALEWAY_API_KEY }}
registry: ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}
- name: Build the Docker image
run: docker build . --build-arg API_URL=${{ secrets.API_URL }} -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/fo-${{ inputs.envType }}
run: docker build . --build-arg API_URL=${{ vars.API_URL }} -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/fo-${{ inputs.envType }}
- name: Push the Docker Image
run: docker push ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/fo-${{ inputs.envType }}