Skip to content

23.12.1

23.12.1 #13

Workflow file for this run

---
name: Release
on:
release:
types:
- published
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: docker login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: docker tag
run: |
docker pull ghcr.io/${{ github.repository }}:main
docker tag ghcr.io/${{ github.repository }}:main ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
docker push ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}