authgear / authgear/authgear-server

Use access token to publish docker image in CI

Open
#1,998 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

So it seems that quay.io now supports [oauth2](https://docs.quay.io/api/) and allows using access token to login to docker cli.

TODO:
- [ ] Update to use token to publish docker image

#### Note
That doc doesn't mention generating a token in the console/portal but only requesting a token with canonical oauth flow. It might require some more reading/investigation in making that token long-lived to be useful in a CI environment.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Read the repository's CI configuration and the linked Quay OAuth2 documentation first, then determine how a long-lived access token can be supplied securely in CI. Done means the CI job logs in with the token and successfully publishes the Docker image.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
authentication, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.