Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch container images to use quay.io #24

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/release_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,19 @@ 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
with:
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion charts/k8-ldap-configmap/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down
2 changes: 1 addition & 1 deletion install/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down