Skip to content

Commit

Permalink
Merge pull request #53 from civisanalytics/civis-6236-fix-release-build
Browse files Browse the repository at this point in the history
[CIVIS-6236] Fixes invalid env variable syntax error in release buildspec
  • Loading branch information
thatguyinabeanie authored Oct 5, 2023
2 parents ee35533 + b73bc45 commit ae698bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buildspec/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

version: 0.2
phases:
build:
Expand All @@ -12,7 +11,7 @@ phases:
- MINOR_TAG=${PATCH_TAG%.*} # major.minor
- MAJOR_TAG=${MINOR_TAG%.*} # major
- export DS_PYTHON_IMG_VERSION=$(head -n 1 ./.ds_python_version)
- docker build --build-arg="DS_PYTHON_IMG_VERSION=${DS_PYTHON_IMG_VERSION}" -t ${REPOSITORY_URI}:${PATCH_TAG} -t ${REPOSITORY_URI}:${MINOR_TAG} -t ${REPOSITORY_URI}:${MAJOR_TAG} -t civisanalytics/civis-jupyter-python3:{PATCH_TAG} -t civisanalytics/civis-jupyter-python3:{MINOR_TAG} -t civisanalytics/civis-jupyter-python3:{MAJOR_TAG} .
- docker build --build-arg="DS_PYTHON_IMG_VERSION=${DS_PYTHON_IMG_VERSION}" -t ${REPOSITORY_URI}:${PATCH_TAG} -t ${REPOSITORY_URI}:${MINOR_TAG} -t ${REPOSITORY_URI}:${MAJOR_TAG} -t civisanalytics/civis-jupyter-python3:${PATCH_TAG} -t civisanalytics/civis-jupyter-python3:${MINOR_TAG} -t civisanalytics/civis-jupyter-python3:${MAJOR_TAG} .
- docker image push --all-tags ${REPOSITORY_URI}
- docker image push --all-tags civisanalytics/civis-jupyter-python3
post_build:
Expand Down

0 comments on commit ae698bd

Please sign in to comment.