Skip to content

ffffff

ffffff #5

Workflow file for this run

name: Publish Docker
on:
push:
branches: [ "master" ]
permissions:
contents: read
packages: write
jobs:
build:
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: iaa-inc/oxidized
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
tags: "latest,${{ steps.get_version.outputs.release-version }}"
platforms: linux/amd64