Skip to content

Build

Build #4

Workflow file for this run

name: Build
on:
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
id-token: write
steps:
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- uses: actions/checkout@v2
- run: npm install -g @devcontainers/cli@v0.30.0
- run: |
set -e -x -u -o pipefail
repo=ghcr.io/treebeardtech/dev-images; tag=latest
docker pull hello-world
docker tag hello-world $repo:$tag
# devcontainer build \
# --workspace-folder . \
# --config .devcontainer/vm/devcontainer.json \
# --image-name $repo:$tag
docker push $repo:$tag