Skip to content

Commit

Permalink
Stop publishing to docker hub
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Mar 26, 2023
1 parent 657f153 commit f51392e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Prepare Host
run: |
sudo apt-get -qq update || true
sudo apt-get install -y bzr
- name: Prepare git
env:
GITHUB_USER: 1gtm
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ jobs:
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
make release
- name: Publish to Docker Registry
env:
SRC_REG: ghcr.io/appscode
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
USERNAME: 1gtm
APPSCODE_ENV: prod
run: |
docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
make release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ BIN := cloudflare-dns-proxy
COMPRESS ?= no

# Where to push the docker image.
REGISTRY ?= appscode
REGISTRY ?= ghcr.io/appscode
SRC_REG ?=

# This version-strategy uses git tags to set the version string
Expand Down Expand Up @@ -361,6 +361,7 @@ install:
@cd ../installer; \
helm upgrade -i dns-proxy charts/cloudflare-dns-proxy --wait \
--namespace=$(KUBE_NAMESPACE) --create-namespace \
--set registryFQDN="" \
--set image.registry=$(REGISTRY) \
--set image.tag=$(TAG_PROD) \
--set imagePullPolicy=$(IMAGE_PULL_POLICY) \
Expand Down

0 comments on commit f51392e

Please sign in to comment.