chore: fmt #27
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
# GitHub Acitions for building the container | |
name: Build Container | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: docker/setup-buildx-action@v1 | |
- name: Build the container | |
run: docker build -t byrio/domain0 . | |
- name: Commit to GHCR | |
uses: elgohr/Publish-Docker-Github-Action@master | |
with: | |
name: byrio/domain0 | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
tags: "latest,${{ github.sha }}" |