diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1190aeed4c18ef3a3c648b7198263df69ac4358b..f71d0767c220683aeb257535a7073702c9f21cc7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -17,11 +17,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Build the Docker image for branch ${GITHUB_REF##*/} + - name: Build the Docker image for branch ${GITHUB_REF_NAME} run: DOCKER_BUILDKIT=1 docker build . \ --build-arg GITHUBLOGIN \ --build-arg GITHUBPASSWORD \ --build-arg SONAR_URL \ --build-arg SONAR_TOKEN \ --file ./docker/Dockerfile \ - --tag brunoe/samplejee91:${GITHUB_REF##*/} + --tag brunoe/samplejee91:${GITHUB_REF_NAME}