Skip to content

Commit

Permalink
revert #52
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Feb 17, 2025
1 parent 3736056 commit 9b21afc
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: GEONATURE_BACKEND_IMAGE=ghcr.io/pnx-si/geonature-backend:${{github.ref_name}}

- name: Build and export image
uses: docker/build-push-action@v4
if: ${{ github.event_name != 'release' }}
with:
context: .
file: ./build/Dockerfile-geonature-backend
target: prod-extra
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: GEONATURE_BACKEND_IMAGE=ghcr.io/pnx-si/geonature-backend:latest
build-args: GEONATURE_BACKEND_IMAGE=ghcr.io/pnx-si/geonature-backend:2.15.3

frontend:
name: Build geonature frontend docker image
Expand Down Expand Up @@ -106,16 +94,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: GEONATURE_FRONTEND_IMAGE=ghcr.io/pnx-si/geonature-frontend:${{github.ref_name}}

- name: Build and export image
uses: docker/build-push-action@v4
if: ${{ github.event_name != 'release' }}
with:
context: .
file: ./build/Dockerfile-geonature-frontend
target: prod-extra
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: GEONATURE_FRONTEND_IMAGE=ghcr.io/pnx-si/geonature-frontend:latest
build-args: GEONATURE_FRONTEND_IMAGE=ghcr.io/pnx-si/geonature-frontend:2.15.3

0 comments on commit 9b21afc

Please sign in to comment.