Skip to content

Bump ruby from 3.3.3-slim to 3.3.4-slim (#105) #162

Bump ruby from 3.3.3-slim to 3.3.4-slim (#105)

Bump ruby from 3.3.3-slim to 3.3.4-slim (#105) #162

Workflow file for this run

name: release
permissions: read-all
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
docker-build-push:
permissions:
contents: read
id-token: write
packages: write
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to quay.io container registry
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker metadata action
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository_owner }}/fluentd-elasticsearch
quay.io/fluentd_elasticsearch/fluentd
tags: |
type=ref,event=branch
type=ref,event=tag
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}