Skip to content

Publish Devcontainer Prebuild #3

Publish Devcontainer Prebuild

Publish Devcontainer Prebuild #3

name: "Publish Devcontainer Prebuild"
on:
workflow_dispatch:
release:
types: published
jobs:
publish-devcontainer:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/njelich/near-devcontainer
cacheFrom: ghcr.io/njelich/near-devcontainer
push: always