This PR adds a GitHub Actions workflow to automatically publish docker images to GitHub Container Registry (ghcr) when a new release tag is pushed. Whenever a tag is pushed with the OFDLV prefix, a docker image is built and pushed to both the latest tag and the version tag. For example, if the OFDLV1.9.3 tag is pushed, ghcr.io/sim0n00ps/of-dl:latest and ghcr.io/sim0n00ps/of-dl:1.9.3 will be pushed to ghcr.
Unless you've changed the repository's GitHub Actions settings to non-default values, only one setting will need to be updated to support this PR. On the Actions (General) page, under Workflow permissions, be sure that Read and write permissions is selected. This will ensure that the GITHUB_TOKEN used by the workflow has permission to write to your packages.
This PR adds a GitHub Actions workflow to automatically publish docker images to GitHub Container Registry (ghcr) when a new release tag is pushed. Whenever a tag is pushed with the
OFDLV
prefix, a docker image is built and pushed to both the latest tag and the version tag. For example, if theOFDLV1.9.3
tag is pushed,ghcr.io/sim0n00ps/of-dl:latest
andghcr.io/sim0n00ps/of-dl:1.9.3
will be pushed to ghcr.Unless you've changed the repository's GitHub Actions settings to non-default values, only one setting will need to be updated to support this PR. On the Actions (General) page, under
Workflow permissions
, be sure thatRead and write permissions
is selected. This will ensure that the GITHUB_TOKEN used by the workflow has permission to write to your packages.