Hi everyone, I created a custom connector couple d...
# help-connector-development
w
Hi everyone, I created a custom connector couple days ago, if I changed the
source.py
and
streams.py
files of the custom connector, do I need to create a new connector or just use
docker push
to update the connector? Thank you.
k
A message from kapa.ai
m
You need to
docker build and push
again
k
To update your custom connector after modifying the
source.py
and
streams.py
files, you don't need to create a new connector. Instead, follow these steps: 1. Build and tag your connector image locally, e.g.,
docker build . -t my-custom-connectors/source-custom:0.1.0
2. Create your image tag with the
docker tag
command. The structure of the remote tag depends on your cloud provider's container registry service. Please check their online documentation linked at the top. 3. Use
docker push <image-name>:<tag>
to push the updated image to your private Docker registry. You should run all the above commands from your local/CI environment, where your connector source code is available. Source: [Using custom connectors](https://docs.airbyte.com/operator-guides/using-custom-connectors)
w
Thanks! Do I need to create another tag?
m
If you’re developing locally isn’t needed
w
No I am not, I tried to update the connector in cloud.
I used docker push, but the source did not update in cloud.