Merge pull request #2 from DJ45X/staging #2
This file contains 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: FashaBot | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and Publish Image to GHCR | |
run: | | |
docker login --username dj45x --password ${{ secrets.GH_PAT }} ghcr.io | |
docker build . -t ghcr.io/dj45x/fashabot:latest | |
docker push ghcr.io/dj45x/fashabot:latest |