Skip to content

Build docker for unittest #11

Build docker for unittest

Build docker for unittest #11

Workflow file for this run

name: Build docker
on:
push:
branches: [ "main" ]
paths:
- '.devcontainer/Dockerfile'
workflow_dispatch:
permissions:
id-token: write
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-20.04
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
driver-opts: |
image=moby/buildkit:v0.11.2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/amd64
tags: ghcr.io/equinor/warmth:latest