Skip to content

Commit

Permalink
Publish sealed-secret-controller in Dockerhub (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvneiayu committed Apr 20, 2022
1 parent 1509466 commit cd723c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

env:
CONTROLLER_IMAGE: quay.io/bitnami/sealed-secrets-controller:latest
CONTROLLER_IMAGE: docker.io/bitnami/sealed-secrets-controller:latest

jobs:
linter:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
image_name: quay.io/bitnami/sealed-secrets-controller
image_name: docker.io/bitnami/sealed-secrets-controller
steps:
# Checkout and set env
- name: Checkout
Expand Down Expand Up @@ -55,12 +55,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Build & Publish multi-arch image
- name: Login to Quay
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ KUBECFG = kubecfg
DOCKER = docker
GINKGO = ginkgo -p

CONTROLLER_IMAGE = quay.io/bitnami/sealed-secrets-controller:latest
CONTROLLER_IMAGE = docker.io/bitnami/sealed-secrets-controller:latest
INSECURE_REGISTRY = false # useful for local registry
IMAGE_PULL_POLICY = Always
KUBECONFIG ?= $(HOME)/.kube/config
Expand Down
2 changes: 1 addition & 1 deletion contrib/prometheus-mixin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ This project includes a [PodMonitor](../../controller-podmonitor.jsonnet
Compile jsonnet to yaml:
```
$ make controller-podmonitor.yaml
kubecfg show -V CONTROLLER_IMAGE=quay.io/bitnami/sealed-secrets-controller:latest -V IMAGE_PULL_POLICY=Always -o yaml controller-podmonitor.jsonnet > controller-podmonitor.yaml.tmp
kubecfg show -V CONTROLLER_IMAGE=docker.io/bitnami/sealed-secrets-controller:latest -V IMAGE_PULL_POLICY=Always -o yaml controller-podmonitor.jsonnet > controller-podmonitor.yaml.tmp
mv controller-podmonitor.yaml.tmp controller-podmonitor.yaml
```

Expand Down

0 comments on commit cd723c5

Please sign in to comment.