Skip to content

added docker build

added docker build #3

Workflow file for this run

name: Build and Publish Image
on:
push:
branches:
- enh/development-docker
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.IMPERIAL_NOTES_GHCR_TOKEN }}
- name: Build and Push Image
uses: docker/build-push-action@v5
with:
context: .devcontainer
push: true
platforms: linux/amd64,linux/arm64
tags: imperial-computing-notes-dev:latest
cache-from: type=gha
cache-to: type=gha,mode=max