Skip to content

Commit

Permalink
feat: add Dockerfile and publish docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed May 9, 2022
1 parent a3ccc9b commit d016de5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ jobs:
- name: Docker Buildx
uses: docker/setup-buildx-action@v1

# docker image
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Docker Images (without Groovy)
uses: docker/build-push-action@v2
with:
context: Dockerfile
push: true
tags: |
ghcr.io/tamada/btmeister:${{ steps.vars.outputs.tag }}
ghcr.io/tamada/btmeister:latest
# web page
# before relese it, must add gh-pages branch as a worktree, by the following command.
# git switch --orphan gh-pages
Expand Down

0 comments on commit d016de5

Please sign in to comment.