Skip to content

Commit

Permalink
Fix delete docker build #TASK-6757
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed Feb 4, 2025
1 parent c622394 commit c9f77b6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pull-request-merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:
workflow_dispatch:

jobs:
build:
uses: opencb/java-common-libs/.github/workflows/build-java-app-workflow.yml@develop
with:
maven_opts: -P hdp3.1,RClient -Dopencga.war.name=opencga -Dcheckstyle.skip

delete-docker:
uses: opencb/java-common-libs/.github/workflows/delete-docker-hub-workflow.yml@develop
needs: build
with:
cli: python3 ./build/cloud/docker/docker-build.py delete --images base --tag ${{ github.head_ref }}
secrets: inherit
name: Execute delete docker image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '10'
- name: delete docker images
run: |
echo "Deleting docker images"
python3 ./opencga-app/app/cloud/docker/docker-build.py delete --images base --tag ${{ github.head_ref }}

0 comments on commit c9f77b6

Please sign in to comment.