Skip to content

Commit

Permalink
feat: remove docker image by commit id
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Jun 27, 2024
1 parent 1333248 commit dd69730
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ 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 dd69730

Please sign in to comment.