Add command to show how to use backticks for code formatting (#7) #11
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: Build Docker Image | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: login to container registry | |
run: docker login ghcr.io --username hay-kot --password $CR_PAT | |
env: | |
CR_PAT: ${{ secrets.CR_PAT }} | |
- name: Build Docker Image | |
run: docker build -t ghcr.io/mealie-recipes/discord-bot:latest . | |
- name: push to container registry | |
run: docker push ghcr.io/mealie-recipes/discord-bot:latest |