fix(ci): invaild syntax in ci
This commit is contained in:
parent
56892ebbdc
commit
c6843ac115
@ -21,9 +21,8 @@ build-and-push:
|
|||||||
- echo "Pushing Docker image to registry..."
|
- echo "Pushing Docker image to registry..."
|
||||||
- docker push $IMAGE_TAG
|
- docker push $IMAGE_TAG
|
||||||
- docker push $LATEST_TAG
|
- docker push $LATEST_TAG
|
||||||
after_script:
|
|
||||||
- echo "Build and push completed successfully!"
|
- echo "Build and push completed successfully!"
|
||||||
- echo "Image available at: $IMAGE_TAG"
|
- echo "Image available at $IMAGE_TAG"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
when: always
|
when: always
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user