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

Github action to publish docker #8

Merged
merged 1 commit into from
Jan 24, 2020
Merged
Show file tree
Hide file tree
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
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: ./build-docker.sh && ./run-docker.sh && ./test/wait-for-it.sh localhost:8090 -t 120
run: ./build-docker.sh && ./run-docker.sh && ./docker_files/wait-for-it.sh localhost:8090 -t 120
15 changes: 15 additions & 0 deletions .github/workflows/publishdocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish Docker
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: materialscloud/tools-barebone
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
snapshot: true

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# tools-barebone

[![Actions Status](https://github.com/materialscloud-org/tools-barebone/workflows/Docker%20Image%20Build%20CI/badge.svg)](https://github.com/materialscloud-org/tools-barebone/actions)
[![Actions Status](https://github.com/materialscloud-org/tools-barebone/workflows/Publish%20Docker/badge.svg)](https://github.com/materialscloud-org/tools-barebone/actions)


`tools-barebone` is a framework to develop and deploy small web apps,
implemented in Python using Flask Jinja2 templates.
Expand Down