Files
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3abb875e3a Bump actions/checkout from 6 to 7 (#98)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-19 10:57:26 -04:00

27 lines
827 B
YAML

name: Publish stable image
on:
push:
tags:
- '*'
jobs:
publish_image:
name: Publish stable image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Build
run: |
GITHUB_REPOSITORY_LC=$(echo "${GITHUB_REPOSITORY}" | tr [A-Z] [a-z])
TAG=$(echo "${GITHUB_REF}" | sed 's@^refs/tags/@@')
docker build -t docker.pkg.github.com/${GITHUB_REPOSITORY_LC}/stable:${TAG} .
- name: Publish
run: |
GITHUB_REPOSITORY_LC=$(echo "${GITHUB_REPOSITORY}" | tr [A-Z] [a-z])
TAG=$(echo "${GITHUB_REF}" | sed 's@^refs/tags/@@')
docker login docker.pkg.github.com -u publisher -p "${GITHUB_TOKEN}"
docker push docker.pkg.github.com/${GITHUB_REPOSITORY_LC}/stable:${TAG}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}