Skip to content

build: update rethinkdb base image to 2.4.4-bookworm-slim #5

build: update rethinkdb base image to 2.4.4-bookworm-slim

build: update rethinkdb base image to 2.4.4-bookworm-slim #5

Workflow file for this run

name: Release
on:
push:
branches:
- main
tags:
- 'v*'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
permissions:
contents: read
packages: write
jobs:
release:
name: Build and publish docker image
runs-on: ubuntu-latest
steps:
- name: Extract metadata (tags, labels) and establish version
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=ref,event=branch
- name: Log in to the container registry (${{ env.REGISTRY }})
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}