fix(ci/cd): Fixed typos from last copy-paste
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
|||||||
SHORT_HASH: ${{ github.sha }}
|
SHORT_HASH: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
# Build the image with the commit hash tag
|
# Build the image with the commit hash tag
|
||||||
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.phorge.fr/retake/retake.fr:${SHORT_HASH:0:5} --target server -f .devops/rocm.Dockerfile .
|
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.phorge.fr/retake/retake.fr:${SHORT_HASH:0:5} .
|
||||||
|
|
||||||
# Tag the same image as "latest"
|
# Tag the same image as "latest"
|
||||||
docker tag git.phorge.fr/retake/retake.fr:$${SHORT_HASH:0:5} git.phorge.fr/retake/retake.fr:latest
|
docker tag git.phorge.fr/retake/retake.fr:$${SHORT_HASH:0:5} git.phorge.fr/retake/retake.fr:latest
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
SHORT_HASH: ${{ github.sha }}
|
SHORT_HASH: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
# Build the image with the commit hash tag
|
# Build the image with the commit hash tag
|
||||||
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.phorge.fr/retake/retake.fr:${SHORT_HASH:0:5} --target server -f .devops/rocm.Dockerfile .
|
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.phorge.fr/retake/retake.fr:${SHORT_HASH:0:5} .
|
||||||
|
|
||||||
# Tag the same image as "latest"
|
# Tag the same image as "latest"
|
||||||
docker tag git.phorge.fr/retake/retake.fr:$${SHORT_HASH:0:5} git.phorge.fr/retake/retake.fr:latest
|
docker tag git.phorge.fr/retake/retake.fr:$${SHORT_HASH:0:5} git.phorge.fr/retake/retake.fr:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user