diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1130eb1..6917dd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ choose-registry: runs-on: ubuntu-latest env: - dockerhub: false + dockerhub: true azureregistry: true outputs: dockerhub: ${{ steps.choose.outputs.dockerhub }} @@ -88,7 +88,7 @@ docker images - name: Publish to Docker Hub - if: ${{ needs.choose-registry.outputs.dockerhub == 'true' }} + if: ${{ needs.choose-registry.outputs.dockerhub }} run: | docker tag az-appservice-go ${{ secrets.DOCKER_USERNAME }}/az-appservice-go docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} @@ -109,7 +109,7 @@ docker push akvtraining.azurecr.io/az-appservice-go deplpoy-to-azure-from-dockerhub: - if: ${{ needs.choose-registry.outputs.dockerhub == 'true' }} + if: ${{ needs.choose-registry.outputs.dockerhub }} needs: [publish-to-registry, choose-registry] runs-on: ubuntu-latest