networkglue fixes #4
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 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 |