harrystech / arthur-redshift-etl

ELT Code for your Data Warehouse
MIT License
25 stars 11 forks source link

Use "repository" from "github" context to pick output image #772

Closed thomas-vogels closed 1 year ago

thomas-vogels commented 1 year ago

Description

Internal Changes

Hard-coded reference to repository is replaced with a value from the github context.

User-visible Changes

None

Links

See https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

Testing

From https://github.com/harrystech/arthur-redshift-etl/runs/8142652797?check_suite_focus=true

  with:
    images: ghcr.io/harrystech/arthur-redshift-etl/arthur-etl
    tags: type=ref,event=tag
  type=semver,pattern=v{{major}}.{{minor}}
  type=semver,pattern=v{{version}}
  type=sha

Deploy Notes

Nothing to do here. This enables forked repos to work and publish an image.