diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56e000b..455e29d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: echo ">>> $SUPER_SECRET" echo ">>> ${{ secrets.DOCKERHUB_TOKEN }}" echo ">>> $USERNAME" - echo ${{ github.ref }} + echo ${GITHUB_REF#refs/heads/} - name: Use the secret run: echo ${{ secrets.DOCKERHUB_USERNAME }} - name: Login to Docker Hub