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

Feature/ghcr integration #217

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
20 changes: 18 additions & 2 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
push_to_registry:
push_to_dockerhub:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
Expand All @@ -22,6 +22,22 @@ jobs:
with:
username: ${{ secrets.CADENCE_WEB_DOCKERHUB_USERNAME }}
password: ${{ secrets.CADENCE_WEB_DOCKERHUB_TOKEN }}
repository: ubercadence/web
repository: justatuber/web
Copy link
Contributor Author

@just-at-uber just-at-uber Oct 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to swap back to ubercadence/web

tag_with_ref: true
tags: latest
push_to_ghcr:
name: Push Docker image to GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Container Registry
if: "!github.event.release.prerelease"
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.CADENCE_WEB_GHCR_PAT }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to change back to GITHUB_TOKEN once github supports this.
See here for more information

registry: ghcr.io
repository: just-at-uber/cadence-web/web
Copy link
Contributor Author

@just-at-uber just-at-uber Oct 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to update repository to uber/cadence-web/web once organization has been initialized with ghcr (see here).

tag_with_ref: true
tags: latest