pyIPAM - Docker Plugin for IPAM written in Python
Jacek Kowalski
2026-03-11 2e8d847c4fbccbd27566ad4f1484b7809ac62cd7
Workflows: deploy to GitHub Container Registry
1 files modified
26 ■■■■■ changed files
.github/workflows/release.yml 26 ●●●●● patch | view | raw | blame | history
.github/workflows/release.yml
@@ -9,6 +9,32 @@
  contents: read
jobs:
  deploy-to-ghcr-io:
    name: Publish to GitHub Container Registry
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write
    steps:
      - name: Checkout code
        uses: actions/checkout@v6
      - name: Log in to the Container registry
        uses: docker/login-action@v4
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
      - name: Prepare and push Docker plugin
        run: |
          export NAME="ghcr.io/${{ github.repository }}"
          export VERSIONS="latest ${GITHUB_REF/refs\/tags\//}"
          ./package.sh
          for VERSION in ${VERSIONS}; do
            docker plugin push "ghcr.io/${{ github.repository }}:${VERSION}"
          done
  deploy-to-docker-hub:
    name: Publish to Docker Hub
    runs-on: ubuntu-latest