Redeploy on push #23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: π³ Build Docker | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-vertex: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Checkout | |
| uses: actions/checkout@v4 | |
| - name: π³ Build Docker image | |
| run: | | |
| docker build \ | |
| -t ghcr.io/echo-webkom/vaffelbot:latest \ | |
| -f ./Dockerfile . | |
| - name: π Authenticate Docker | |
| run: | | |
| echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
| - name: π Push Docker image | |
| run: | | |
| docker push ghcr.io/echo-webkom/vaffelbot:latest |