mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Use vars context instead of env
This commit is contained in:
parent
a7be42685f
commit
e3882006ef
@ -9,7 +9,6 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Build Docker image
|
||||
run: docker build -t maciejpedzi.ch:latest .
|
||||
- run: echo ${{ env.CONTAINER_NAME }}
|
||||
run: docker build -t ${{ vars.IMAGE_TAG }} .
|
||||
- name: Rerun website's Docker container
|
||||
run: chmod +x ./rerun-container.sh && ./rerun-container.sh $CONTAINER_NAME $PORT_PAIR $NETWORK_NAME $IMAGE_TAG
|
||||
run: chmod +x ./rerun-container.sh && ./rerun-container.sh ${{ vars.CONTAINER_NAME }} ${{ vars.PORT_PAIR }} ${{ vars.NETWORK_NAME }} ${{ vars.IMAGE_TAG }}
|
||||
|
Loading…
Reference in New Issue
Block a user