Merge pull request #2978 from aschaber1/docs/README #240
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 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 }}" |