-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Github Actions+Packages deployment file
- Loading branch information
1 parent
8943d52
commit a263647
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Github Packages Release | ||
|
||
on: | ||
push: | ||
branches: [ releases ] | ||
pull_request: | ||
branches: [ releases ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# make sure you have "Improved Container Support" enabled for both your personal and/or Organization accounts! | ||
# TODO shift repo target to https://github.com/pmorelli92/github-container-registry-build-push/pull/1 | ||
- uses: LibreTexts/github-container-registry-build-push@main | ||
name: Build and Publish latest service image | ||
with: | ||
# Read note below to see how to generate the PAT | ||
personal-access-token: ${{secrets.GITHUB_TOKEN}} | ||
docker-image-name: ww-renderer | ||
docker-image-tag: latest |