Skip to content

fix: docker build (#78) #6

fix: docker build (#78)

fix: docker build (#78) #6

Workflow file for this run

name: Docker
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Gather info
id: info
run: echo "tags=$(git describe --tags || git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v5
with:
context: .
push: false
platforms: linux/amd64
tags: rg.nl-ams.scw.cloud/teritori/teritorid:${{ steps.info.outputs.tags }}