Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Upon release, publish Docker image to ghcr.io #3027

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
Add a docker build and push to ghcr.io #3026
Simplifying deployment/running locally.

Using an existing Github Action that works and has tests. It pushes to the current repo's ghcr.io repository and adds a latest tag. I'm not sure how the project would want to handle other tags, so I've not dived into that (yet).

Signed-off-by: Rob Grant <rob.grant@nanoporetech.com>
  • Loading branch information
robertlagrant committed Jul 27, 2022
commit 38cfee3d4df2cb7ae7a41738afaa8e8ea21e5751
13 changes: 13 additions & 0 deletions .github/workflows/scancode-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ on:

jobs:

build_scancode_for_ghcr:
name: Build ScanCode Docker image
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Build and publish Docker image to ghcr.io/nexB/scancode-toolkit
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}

build_scancode_for_pypi:
name: Build ScanCode PyPI archives
runs-on: ubuntu-20.04
Expand Down