dotmh - DotMH Publish Actions - 3 #3
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: DotMH Publish Actions | |
run-name: '${{ github.actor }} - ${{ github.workflow }} - ${{ github.run_number }}' | |
on: [push] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v1 | |
with: | |
just-version: 1.5.0 | |
- name: Build base container | |
run: just build | |
- name: Publish base container | |
run: just action-publish devcontainer ${{ github.actor }} ${{secrets.GITHUB_TOKEN}} | |
- name: Build base cloud container | |
run: just build | |
- name: Publish base cloud container | |
run: just action-publish devcontainer-cloud ${{ github.actor }} ${{secrets.GITHUB_TOKEN}} |