Skip to content
Snippets Groups Projects
Commit e7c0d97d authored by Jacopo Gasparetto's avatar Jacopo Gasparetto
Browse files

fix(ci-cd): wrong tar extraction prefix

parent 90538501
No related branches found
Tags v0.3.0-dev.3
1 merge request!8feat(deployment): Add frontend container based on nginx
Pipeline #100151 passed
......@@ -124,7 +124,7 @@ upload-frontend-docker:
- PACKAGE_FULLNAME="${PACKAGENAME}_v${VERSION}.tar.gz"
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
script:
- tar -xvf frontend/${PACKAGE_FULLNAME} -C frontend/build
- tar -xvf frontend/${PACKAGE_FULLNAME} -C frontend
- docker build --pull -t "${CI_REGISTRY_IMAGE}/frontend:v${VERSION}" frontend -f Dockerfile.prod
- docker push "${CI_REGISTRY_IMAGE}/frontend:v${VERSION}"
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment