From 62e28bed1097d352a62d3fdbe196a1534c3f6eb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20N=C3=A9grier?= Date: Mon, 13 Apr 2020 18:15:27 +0200 Subject: [PATCH] Fixing slugify issue --- .github/workflows/build-and-deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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: -- 2.25.1