pyIPAM - Docker Plugin for IPAM written in Python
Jacek Kowalski
2026-03-11 a4d4f806e8d9a9f019c18c667afa1e703b4bf97e
.github/workflows/release.yml
@@ -9,6 +9,29 @@
  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
  deploy-to-docker-hub:
    name: Publish to Docker Hub
    runs-on: ubuntu-latest
@@ -27,6 +50,3 @@
          export NAME="${{ github.actor }}/pyipam"
          export VERSIONS="latest ${GITHUB_REF/refs\/tags\//}"
          ./package.sh
          for VERSION in ${VERSIONS}; do
            docker plugin push "${{ github.actor }}/pyipam:${VERSION}"
          done