diff --git a/.github/workflows/release_docker.yaml b/.github/workflows/release_docker.yaml index 22f512a..4f37c7c 100644 --- a/.github/workflows/release_docker.yaml +++ b/.github/workflows/release_docker.yaml @@ -30,6 +30,11 @@ jobs: with: username: oscrobot password: ${{ secrets.OSC_ROBOT_DOCKERHUB_TOKEN }} + - name: Login to quay.io + uses: docker/login-action@v2 + with: + username: ${{ secrets.QUAY_USERNAME }} + password: ${{ secrets.QUAY_ACCESS_TOKEN }} - name: Build and push id: docker_build uses: docker/build-push-action@v4 @@ -37,7 +42,7 @@ jobs: context: ./ file: ./Dockerfile push: true - tags: ohiosupercomputer/k8-ldap-configmap:${{ env.VERSION }} + tags: ohiosupercomputer/k8-ldap-configmap:${{ env.VERSION }},quay.io/ohiosupercomputercenter/k8-ldap-configmap:${{ env.VERSION }} build-args: | VERSION=${{ env.REF }} - name: Image digest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b773d39..cc9b314 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -55,7 +55,7 @@ jobs: uses: docker/build-push-action@v4 with: push: false - tags: docker.io/ohiosupercomputer/k8-ldap-configmap:latest + tags: quay.io/ohiosupercomputercenter/k8-ldap-configmap:latest outputs: type=docker,dest=/tmp/k8-ldap-configmap.tar - name: Upload Docker image uses: actions/upload-artifact@v3 @@ -95,7 +95,7 @@ jobs: - name: Load image run: | docker load --input /tmp/k8-ldap-configmap.tar - kind load docker-image docker.io/ohiosupercomputer/k8-ldap-configmap:latest + kind load docker-image quay.io/ohiosupercomputercenter/k8-ldap-configmap:latest - name: Update chart values run: | sed -i \ diff --git a/README.md b/README.md index 31cf7f8..e5974f3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ [![CI Status](https://github.com/OSC/k8-ldap-configmap/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/OSC/k8-ldap-configmap/actions?query=workflow%3Atest) [![GitHub release](https://img.shields.io/github/v/release/OSC/k8-ldap-configmap?include_prereleases&sort=semver)](https://github.com/OSC/k8-ldap-configmap/releases/latest) ![GitHub All Releases](https://img.shields.io/github/downloads/OSC/k8-ldap-configmap/total) -![Docker Pulls](https://img.shields.io/docker/pulls/ohiosupercomputer/k8-ldap-configmap) [![Go Report Card](https://goreportcard.com/badge/github.com/OSC/k8-ldap-configmap?ts=1)](https://goreportcard.com/report/github.com/OSC/k8-ldap-configmap) [![codecov](https://codecov.io/gh/OSC/k8-ldap-configmap/branch/main/graph/badge.svg)](https://codecov.io/gh/OSC/k8-ldap-configmap) diff --git a/charts/k8-ldap-configmap/values.yaml b/charts/k8-ldap-configmap/values.yaml index fc05f43..fcf9f5f 100644 --- a/charts/k8-ldap-configmap/values.yaml +++ b/charts/k8-ldap-configmap/values.yaml @@ -29,7 +29,7 @@ namespaceConfigMap: "" extraArgs: [] image: - repository: docker.io/ohiosupercomputer/k8-ldap-configmap + repository: quay.io/ohiosupercomputercenter/k8-ldap-configmap pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "" diff --git a/install/deployment.yaml b/install/deployment.yaml index 56fdc76..0993621 100644 --- a/install/deployment.yaml +++ b/install/deployment.yaml @@ -18,7 +18,7 @@ spec: serviceAccountName: k8-ldap-configmap containers: - name: k8-ldap-configmap - image: docker.io/ohiosupercomputer/k8-ldap-configmap:latest + image: quay.io/ohiosupercomputercenter/k8-ldap-configmap:latest imagePullPolicy: Always args: - --ldap-url=