Skip to content

Upstream update v1.18.19 #15

Upstream update v1.18.19

Upstream update v1.18.19 #15

Workflow file for this run

name: Release docker image
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
docker:
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=${{ github.ref_name }}
type=raw,value=latest
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
- name: Release
uses: ncipollo/release-action@v1
with:
name: ${{ github.event.repository.name }} ${{ github.ref_name }}
makeLatest: true
generateReleaseNotes: true
body: |
## Docker images
```
${{ steps.meta.outputs.tags }}
```