Skip to content

Commit

Permalink
Added Github Actions+Packages deployment file
Browse files Browse the repository at this point in the history
  • Loading branch information
Miniland1333 committed Apr 21, 2021
1 parent 8943d52 commit a263647
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/createContainer.yml
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

0 comments on commit a263647

Please sign in to comment.