diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..b26dbf5 --- /dev/null +++ b/.github/workflows/docker.yml @@ -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 }}