Skip to content

testing workspace folder for devcontainer #3

testing workspace folder for devcontainer

testing workspace folder for devcontainer #3

name: Build and Push Dev Container
on:
push:
branches:
- main
jobs:
netobs-devcontainer:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Log into registry ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_TOKEN }}
- name: Build and push devcontainer image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/network-observability-lab/netobs-devcontainer
cacheFrom: ghcr.io/network-observability-lab/netobs-devcontainer
# tags: yourusername/yourrepository:tag # Replace with your Docker image tag
push: always