Skip to content

4.8.4

4.8.4 #53

name: publish-docker-image
on:
release:
types: [published]
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set Tag Name
run: echo "TAG_NAME=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
-
name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: circuitsacul/starboard:${{ env.TAG_NAME }},circuitsacul/starboard:latest