Created
February 9, 2025 18:06
-
-
Save syrm/c9b99971429c1e061d9855966a46295c to your computer and use it in GitHub Desktop.
This file contains hidden or 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: deploy | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Auth registry | |
| run: echo $GH_TOKEN | docker login ghcr.io -u blackprism --password-stdin | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build Image | |
| uses: dagger/dagger-for-github@v6 | |
| with: | |
| verb: call | |
| args: build-image --source . publish --address ghcr.io/blackprism/anotherpoll:v0.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment