From: David NĂ©grier Date: Mon, 13 Apr 2020 16:15:27 +0000 (+0200) Subject: Fixing slugify issue X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=62e28bed1097d352a62d3fdbe196a1534c3f6eb9;p=libreadventure.git Fixing slugify issue --- diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 297c840..f260836 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -18,6 +18,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 + + # Create a slugified value of the branch + - uses: rlespinasse/github-slug-action@master + - name: "Build and push front image" uses: docker/build-push-action@v1 with: @@ -26,7 +30,7 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} repository: thecodingmachine/workadventure-front - tag_with_ref: true + tags: ${{ env.GITHUB_REF_SLUG }} add_git_labels: true build-back: @@ -38,6 +42,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 + # Create a slugified value of the branch + - uses: rlespinasse/github-slug-action@master + - name: "Build and push back image" uses: docker/build-push-action@v1 with: @@ -46,7 +53,7 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} repository: thecodingmachine/workadventure-back - tag_with_ref: true + tags: ${{ env.GITHUB_REF_SLUG }} add_git_labels: true deeploy: