temporarily move step for testing
@@ -86,10 +86,6 @@ jobs:
id: get_version
run: echo ::set-output name=VERSION::$(grep '<cellbase.version>' pom.xml | sed 's/cellbase.version//g' | sed 's/[<>/ ]//g')
- ## Delete snapshot
- - name: Delete SNAPSHOT image on dockerhub, if present
- run: python3 ./build/cloud/docker/docker-build.py --username ${{ secrets.DOCKER_HUB_USER }} --password ${{ secrets.DOCKER_HUB_PASSWORD}} --tag {{ steps.get_version.outputs.VERSION }} + "-SNAPSHOT"
-
## Publish GitHub release
- name: Create GitHub Release
id: create_release
@@ -105,6 +101,13 @@ jobs:
- Second Change
draft: false
prerelease: false
+
+ ## Delete snapshot
+ - name: Delete SNAPSHOT image on dockerhub, if present
+ with:
+ snapshot_tag: "${{ steps.get_version.outputs.VERSION }}-SNAPSHOT"
+ run: python3 ./build/cloud/docker/docker-build.py --username ${{ secrets.DOCKER_HUB_USER }} --password ${{ secrets.DOCKER_HUB_PASSWORD}} --tag {$snapshot_tag} + "-SNAPSHOT"
+
site:
name: Generate Maven site
runs-on: ubuntu-18.04
