devops: fix socker tag verson in main.yml actions file
@@ -37,8 +37,13 @@ jobs:
nexus_password: ${{ secrets.MAVEN_NEXUS_PASSWORD }}
- name: Login to DockerHub
run: docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
+ - name: Get the version
+ id: get_version
+ run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Build and publish Docker images to DockerHub
- run: ./build/cloud/docker/docker-build.sh push ${{ github.ref }}
+ run: ./build/cloud/docker/docker-build.sh push ${{ steps.get_version.outputs.VERSION }}
+# - name: Build and publish Docker images to DockerHub
+# run: ./build/cloud/docker/docker-build.sh push ${{ github.ref }}
- name: Generate Javadocs
run: mvn javadoc:aggregate
- name: Deploy Javadocs
