Skip to content

Instantly share code, notes, and snippets.

@joshuapliatrio
Last active February 28, 2023 16:54
Show Gist options
  • Select an option

  • Save joshuapliatrio/1ea713d487a6f6a20a5db54bbe08e1d5 to your computer and use it in GitHub Desktop.

Select an option

Save joshuapliatrio/1ea713d487a6f6a20a5db54bbe08e1d5 to your computer and use it in GitHub Desktop.
Use the release trigger to publish artifacts and update tags
on:
release:
types: [published]
jobs:
publish_docker_image:
runs-on: ubuntu-latest
steps:
- run: |
docker build -t my-image .
docker push my-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment