release 0.0.2a2 (#1)
* Build master and stable branches * Updated README.md * Added github action to publish package * Updated python to 3.8.2-r1 for docker images * poetry update * 0.0.2a2 * Hotfix: Build latest docker image from Dockerfile.dev
This commit is contained in:
parent
d58f0e29ed
commit
236e372e00
7 changed files with 178 additions and 134 deletions
23
.github/workflows/docker-build-stable.yaml
vendored
23
.github/workflows/docker-build-stable.yaml
vendored
|
@ -1,23 +0,0 @@
|
|||
name: Build stable tag docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- stable
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker build --tag butterrobot:$(git rev-parse --short HEAD) docker
|
||||
|
||||
- name: Push into Github packages (stable)
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u fmartingr --password-stdin
|
||||
docker tag butterrobot:$(git rev-parse --short HEAD) docker.pkg.github.com/fmartingr/butterrobot/butterrobot:stable
|
||||
docker tag butterrobot:$(git rev-parse --short HEAD) docker.pkg.github.com/fmartingr/butterrobot/butterrobot:$(cat pyproject.toml | grep version | cut -d "\"" -f 2)
|
||||
docker push docker.pkg.github.com/fmartingr/butterrobot/butterrobot:stable
|
||||
docker push docker.pkg.github.com/fmartingr/butterrobot/butterrobot:$(cat pyproject.toml | grep version | cut -d "\"" -f 2)
|
Loading…
Add table
Add a link
Reference in a new issue