chore: improve glance cmd #34
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 and Publish to Github Container Registry | |
on: | |
push | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login onto ghcr | |
run: | | |
docker login --username maldorne-bot --password ${{ secrets.MALDORNE_BOT_GHCR_TOKEN }} ghcr.io | |
- name: Build image | |
run: | | |
docker build --no-cache . -t ghcr.io/maldorne/hexagon:latest | |
- name: Publish image | |
run: | | |
docker push ghcr.io/maldorne/hexagon:latest |