Skip to content

v0.4.0.pre1

v0.4.0.pre1 #27

Workflow file for this run

name: Docker Build
on:
release:
types: [published]
jobs:
build:
name: Build 🔧
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Checkout release
uses: actions/checkout@v3
with:
ref: refs/tags/${{ github.event.release.tag_name }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: hub.docker.com
username: bolshakov
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: |
starfleet-admin:${{ github.event.release.tag_name }}
starfleet-admin:latest
platforms: linux/amd64, linux/arm64
context: ./docker