Commit 18a5cfa1 authored by Revant Nandgaonkar's avatar Revant Nandgaonkar

refactor: remove gitlab registry images

parent 331b3610
Pipeline #1053 failed with stage
in 0 seconds
......@@ -12,13 +12,10 @@ pack_erpnext_assets_edge:
refs:
- master
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- docker build -t erpnext-assets erpnext-assets
- docker tag erpnext-assets $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets:edge
- docker tag erpnext-assets castlecraft/erpnext-assets:edge
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets
- docker push castlecraft/erpnext-assets:edge
pack_erpnext_assets_version_11:
......@@ -29,7 +26,6 @@ pack_erpnext_assets_version_11:
- master
before_script:
- apk add git
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- git clone https://github.com/frappe/erpnext --branch version-11
......@@ -40,10 +36,8 @@ pack_erpnext_assets_version_11:
- docker build -t erpnext-assets:$VERSION erpnext-assets -f erpnext-assets/v11.Dockerfile
- docker tag erpnext-assets:$VERSION castlecraft/erpnext-assets:v11
- docker tag erpnext-assets:$VERSION castlecraft/erpnext-assets:$VERSION
- docker tag erpnext-assets:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets:v11
- docker tag erpnext-assets:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets:$VERSION
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets
- docker push castlecraft/erpnext-assets:$VERSION
- docker push castlecraft/erpnext-assets:v11
pack_erpnext_assets_version_12:
image: docker
......@@ -53,7 +47,6 @@ pack_erpnext_assets_version_12:
- master
before_script:
- apk add git
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- git clone https://github.com/frappe/erpnext --branch version-12
......@@ -64,10 +57,8 @@ pack_erpnext_assets_version_12:
- docker build -t erpnext-assets:$VERSION erpnext-assets -f erpnext-assets/v12.Dockerfile
- docker tag erpnext-assets:$VERSION castlecraft/erpnext-assets:v12
- docker tag erpnext-assets:$VERSION castlecraft/erpnext-assets:$VERSION
- docker tag erpnext-assets:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets:v12
- docker tag erpnext-assets:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets:$VERSION
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-assets
- docker push castlecraft/erpnext-assets:$VERSION
- docker push castlecraft/erpnext-assets:v12
pack_erpnext_python_edge:
image: docker
......@@ -76,13 +67,10 @@ pack_erpnext_python_edge:
refs:
- master
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- docker build -t erpnext-python erpnext-python
- docker tag erpnext-python castlecraft/erpnext-python:edge
- docker tag erpnext-python $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python:edge
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python
- docker push castlecraft/erpnext-python:edge
pack_erpnext_python_version_11:
......@@ -93,7 +81,6 @@ pack_erpnext_python_version_11:
- master
before_script:
- apk add git
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- git clone https://github.com/frappe/erpnext --branch version-11
......@@ -104,10 +91,8 @@ pack_erpnext_python_version_11:
- docker build -t erpnext-python:$VERSION erpnext-python -f erpnext-python/v11.Dockerfile
- docker tag erpnext-python:$VERSION castlecraft/erpnext-python:v11
- docker tag erpnext-python:$VERSION castlecraft/erpnext-python:$VERSION
- docker tag erpnext-python:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python:v11
- docker tag erpnext-python:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python:$VERSION
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python
- docker push castlecraft/erpnext-python:$VERSION
- docker push castlecraft/erpnext-python:v11
pack_erpnext_python_version_12:
image: docker
......@@ -117,7 +102,6 @@ pack_erpnext_python_version_12:
- master
before_script:
- apk add git
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- git clone https://github.com/frappe/erpnext --branch version-12
......@@ -128,10 +112,8 @@ pack_erpnext_python_version_12:
- docker build -t erpnext-python:$VERSION erpnext-python -f erpnext-python/v12.Dockerfile
- docker tag erpnext-python:$VERSION castlecraft/erpnext-python:v12
- docker tag erpnext-python:$VERSION castlecraft/erpnext-python:$VERSION
- docker tag erpnext-python:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python:v12
- docker tag erpnext-python:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python:$VERSION
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/erpnext-python
- docker push castlecraft/erpnext-python:$VERSION
- docker push castlecraft/erpnext-python:v12
pack_frappe_socketio_edge:
image: docker
......@@ -140,13 +122,10 @@ pack_frappe_socketio_edge:
refs:
- master
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- docker build -t frappe-socketio frappe-socketio
- docker tag frappe-socketio castlecraft/frappe-socketio:edge
- docker tag frappe-socketio $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio:edge
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio
- docker push castlecraft/frappe-socketio:edge
pack_frappe_socketio_version_11:
......@@ -157,7 +136,6 @@ pack_frappe_socketio_version_11:
- master
before_script:
- apk add git
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- git clone https://github.com/frappe/frappe --branch version-11
......@@ -168,10 +146,8 @@ pack_frappe_socketio_version_11:
- docker build -t frappe-socketio:$VERSION frappe-socketio -f frappe-socketio/v11.Dockerfile
- docker tag frappe-socketio:$VERSION castlecraft/frappe-socketio:v11
- docker tag frappe-socketio:$VERSION castlecraft/frappe-socketio:$VERSION
- docker tag frappe-socketio:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio:v11
- docker tag frappe-socketio:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio:$VERSION
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio
- docker push castlecraft/frappe-socketio:$VERSION
- docker push castlecraft/frappe-socketio:v11
pack_frappe_socketio_version_12:
image: docker
......@@ -181,7 +157,6 @@ pack_frappe_socketio_version_12:
- master
before_script:
- apk add git
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script:
- git clone https://github.com/frappe/frappe --branch version-12
......@@ -192,7 +167,5 @@ pack_frappe_socketio_version_12:
- docker build -t frappe-socketio:$VERSION frappe-socketio -f frappe-socketio/v12.Dockerfile
- docker tag frappe-socketio:$VERSION castlecraft/frappe-socketio:v12
- docker tag frappe-socketio:$VERSION castlecraft/frappe-socketio:$VERSION
- docker tag frappe-socketio:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio:v12
- docker tag frappe-socketio:$VERSION $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio:$VERSION
- docker push $CI_REGISTRY/$CI_PROJECT_NAMESPACE/erpnext_kubernetes/frappe-socketio
- docker push castlecraft/frappe-socketio:$VERSION
- docker push castlecraft/frappe-socketio:v12
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment