testing wiht some progress6 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |