Skip to content

Merge pull request #3 from fino-digital/feature/update-fluentd #9

Merge pull request #3 from fino-digital/feature/update-fluentd

Merge pull request #3 from fino-digital/feature/update-fluentd #9

Workflow file for this run

name: Create and publish a Docker image
on:
push:
tags:
- "*"
env:
IMAGE: ghcr.io/fino-digital/fluentd
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and Push
uses: docker/build-push-action@v4
with:
context: .
push: ${{ github.ref_type == 'tag' }}
tags: ${{env.IMAGE}}:${{ github.ref_name }}