diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dcc8362..fa7e619 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,18 +56,18 @@ jobs: echo "Parsed APP_VERSION to ${APP_VERSION}" if [[ "${APP_VERSION}" =~ .*SNAPSHOT.* ]]; then echo Publish as snapshot - docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} $dockerRepo - docker build . --file Dockerfile --tag $dockerRepo/folioci/mod-remote-sync:${APP_VERSION} - docker build . --file Dockerfile --tag $dockerRepo/folioci/mod-remote-sync:snapshot-latest - docker push $dockerRepo/folioci/mod-remote-sync:${APP_VERSION} - docker push --all-tags $dockerRepo/folioci/mod-remote-sync + # docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} $dockerRepo + # docker build . --file Dockerfile --tag $dockerRepo/folioci/mod-remote-sync:${APP_VERSION} + # docker build . --file Dockerfile --tag $dockerRepo/folioci/mod-remote-sync:snapshot-latest + # docker push $dockerRepo/folioci/mod-remote-sync:${APP_VERSION} + # docker push --all-tags $dockerRepo/folioci/mod-remote-sync else echo Publish as release - docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} $dockerRepo - docker build . --file Dockerfile --tag $dockerRepo/folioorg/mod-remote-sync:${APP_VERSION} --tag $dockerRepo/folioorg/mod-remote-sync:latest - docker push $dockerRepo/folioorg/mod-remote-sync:${APP_VERSION} - docker push $dockerRepo/folioorg/mod-remote-sync:latest - docker push --all-tags $dockerRepo/folioorg/mod-remote-sync + # docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} $dockerRepo + # docker build . --file Dockerfile --tag $dockerRepo/folioorg/mod-remote-sync:${APP_VERSION} --tag $dockerRepo/folioorg/mod-remote-sync:latest + # docker push $dockerRepo/folioorg/mod-remote-sync:${APP_VERSION} + # docker push $dockerRepo/folioorg/mod-remote-sync:latest + # docker push --all-tags $dockerRepo/folioorg/mod-remote-sync fi env: dockerRepo: https://hub.docker.com