Skip to content

Merge pull request #3079 from robertcheramy/fix-rubocop-warnings-PR3047 #286

Merge pull request #3079 from robertcheramy/fix-rubocop-warnings-PR3047

Merge pull request #3079 from robertcheramy/fix-rubocop-warnings-PR3047 #286

Workflow file for this run

name: Publish Docker
on:
push:
branches: [ "master" ]
jobs:
build:
if: github.repository_owner == 'ytti'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Get Release Version
id: get_version
run: echo "release-version=$(git describe --tags)" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: oxidized/oxidized
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ steps.get_version.outputs.release-version }}"
platforms: linux/amd64,linux/arm64