Skip to content

Docker Image for sbi toolkit #5

Docker Image for sbi toolkit

Docker Image for sbi toolkit #5

name: Docker Image for sbi toolkit
on:
release:
types: [ published ]
workflow_dispatch:
jobs:
build_devcontainer_base:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: .devcontainer/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/${{ github.repository }}/base-image-codespaces:latest