Skip to content

add permissison to push image #7

add permissison to push image

add permissison to push image #7

Workflow file for this run

name: Build dev container image
on:
push:
branches:
- '*'
jobs:
build-devcontainer-image:
name: Release Please
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/#-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/ci@v0.3
with:
subFolder: typescript-node
imageName: ghcr.io/codesandbox/devcontainers/typescript-node
cacheFrom: ghcr.io/codesandbox/devcontainers/typescript-node
push: always