- 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:
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:
- 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:
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: