Skip to content

networkglue fixes

networkglue fixes #5

name: Build and Push Shell Operator
on:
push:
branches:
- master
paths:
- network-glue/**
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build -t ghcr.io/${{ github.repository_owner }}/${{ github.repository }}-shell-operator:latest network-glue
- name: Push the Docker image
run: |
docker push ghcr.io/${{ github.repository_owner }}/${{ github.repository }}-shell-operator:latest