Skip to content

Commit

Permalink
Revert "feat: remove docker image by commit id"
Browse files Browse the repository at this point in the history
This reverts commit dd69730.

Useful for devops
  • Loading branch information
edevosc2c committed Jul 1, 2024
1 parent dd69730 commit 4f88323
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
readme-filepath: ./DOCKER_HUB.md
short-description: 'Gateway module for the geOrchestra SDI'

- name: "Push image attached to commit id to docker.io"
if: github.ref == 'refs/heads/main' && github.repository == 'georchestra/georchestra-gateway'
run: |
docker tag georchestra/gateway:latest georchestra/gateway:commit-${{ github.sha }}
docker push georchestra/gateway:commit-${{ github.sha }}
- name: "Remove SNAPSHOT jars from repository"
run: |
find .m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {}

0 comments on commit 4f88323

Please sign in to comment.