Skip to content

Instantly share code, notes, and snippets.

@syrm
Created February 9, 2025 18:06
Show Gist options
  • Select an option

  • Save syrm/c9b99971429c1e061d9855966a46295c to your computer and use it in GitHub Desktop.

Select an option

Save syrm/c9b99971429c1e061d9855966a46295c to your computer and use it in GitHub Desktop.
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