Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha authored Apr 7, 2023
1 parent 1f10b4a commit 2849cd4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ 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

steps:
- 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:
Expand All @@ -116,18 +116,18 @@ 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

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

0 comments on commit 2849cd4

Please sign in to comment.