diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 98f18af..170c620 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -91,7 +91,7 @@ jobs: name: Testing url: https://printer.ui.test.profcomff.com/ env: - CONTAITER_NAME: com_profcomff_ui_printer_test + CONTAINER_NAME: com_profcomff_ui_printer_test permissions: packages: read @@ -99,12 +99,12 @@ jobs: - name: Run docker container run: | docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test - docker stop ${{ env.CONTAITER_NAME }} || true && docker rm ${{ env.CONTAITER_NAME }} || true + docker stop ${{ env.CONTAINER_NAME }} || true && docker rm ${{ env.CONTAINER_NAME }} || true docker run \ --detach \ --restart on-failure:3 \ --network=web \ - --name ${{ env.CONTAITER_NAME }} \ + --name ${{ env.CONTAINER_NAME }} \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test deploy-production: @@ -116,7 +116,7 @@ jobs: name: Production url: https://printer.ui.profcomff.com/ env: - CONTAITER_NAME: com_profcomff_ui_printer + CONTAINER_NAME: com_profcomff_ui_printer permissions: packages: read @@ -124,10 +124,10 @@ jobs: - name: Run docker container run: | docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - docker stop ${{ env.CONTAITER_NAME }} || true && docker rm ${{ env.CONTAITER_NAME }} || true + docker stop ${{ env.CONTAINER_NAME }} || true && docker rm ${{ env.CONTAINER_NAME }} || true docker run \ --detach \ --restart always \ --network=web \ - --name ${{ env.CONTAITER_NAME }} \ + --name ${{ env.CONTAINER_NAME }} \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest