Skip to content

Commit

Permalink
feat: add workflow to build/push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
himkt committed Jan 12, 2024
1 parent 34bb28d commit f3c8236
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: docker

on:
push:
tags:
- '*'
workflow_dispatch:

jobs:
login:
runs-on: ubuntu-latest
steps:
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: docker build -t himkt/konoha:${{ github.sha }} .
- run: docker push himkt/konoha:${{ github.sha }}

0 comments on commit f3c8236

Please sign in to comment.