Skip to content

Git tag and latest commit sha as version displayed in sidebar (#580) #131

Git tag and latest commit sha as version displayed in sidebar (#580)

Git tag and latest commit sha as version displayed in sidebar (#580) #131

Workflow file for this run

name: Docker (dev)
on:
workflow_dispatch:
push:
branches: [ master ]
jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/metadata-action@v3
id: meta
with:
images: ghcr.io/dusk-labs/dim
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v2
with:
push: true
context: .
platforms: linux/amd64
tags: ghcr.io/dusk-labs/dim:dev
labels: ${{ steps.meta.outputs.labels }}
cache-to: type=gha,mode=max
cache-from: type=gha