Skip to content

testing wiht some progress10 #20

testing wiht some progress10

testing wiht some progress10 #20

name: Build and Push Dev Container
on:
push:
branches:
- df/gh-actions
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: local test
run: |
echo "Hello, World!"
ls -al
echo $PWD
echo "Aver"
ls -al /home/runner/work/network-observability-lab/network-observability-lab/.devcontainer/devcontainer.json
- name: Build and push devcontainer image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/network-observability-lab/netobs-devcontainer
imageTag: latest
# cacheFrom: ghcr.io/network-observability-lab/netobs-devcontainer
# tags: yourusername/yourrepository:tag # Replace with your Docker image tag
push: always