Update poetry lock #29
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
name: Build and Publish to GH Packages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build the Docker image | |
run: | | |
sha=${GITHUB_SHA:0:7} | |
lowercase_GH_repo=${GITHUB_REPOSITORY,,} | |
app=${lowercase_GH_repo#*/} | |
docker build -t docker.pkg.github.com/$lowercase_GH_repo/${app}:${sha} . | |
- name: Push the image to GPR | |
run: | | |
sha=${GITHUB_SHA:0:7} | |
lowercase_GH_repo=${GITHUB_REPOSITORY,,} | |
app=${lowercase_GH_repo#*/} | |
docker login docker.pkg.github.com -u $GITHUB_ACTOR -p ${{ secrets.GITHUB_TOKEN }} | |
docker push docker.pkg.github.com/$lowercase_GH_repo/${app}:${sha} |