pyIPAM - Docker Plugin for IPAM written in Python
Jacek Kowalski
2026-03-11 6fb5c068282419ab4120bf11fa507f3edfeee7c7
Workflows: update release workflow
1 files modified
19 ■■■■■ changed files
.github/workflows/release.yml 19 ●●●●● patch | view | raw | blame | history
.github/workflows/release.yml
@@ -5,23 +5,28 @@
    tags:
      - 'v[0-9]+.*'
permissions:
  contents: read
jobs:
  deploy:
  deploy-to-docker-hub:
    name: Publish to Docker Hub
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
        uses: actions/checkout@v6
      - name: Login to Docker Hub
        run: |
          docker login -u 'jacekkow' -p '${{ secrets.DOCKER_PASSWORD }}'
        uses: docker/login-action@v4
        with:
          username: ${{ github.actor }}
          password: ${{ secrets.DOCKER_PASSWORD }}
      - name: Prepare and push Docker plugin
        run: |
          VERSIONS="latest ${GITHUB_REF/refs\/tags\//}"
          export VERSIONS
          export NAME="${{ github.actor }}/pyipam"
          export VERSIONS="latest ${GITHUB_REF/refs\/tags\//}"
          ./package.sh
          for VERSION in ${VERSIONS}; do
            docker plugin push "jacekkow/pyipam:${VERSION}"
            docker plugin push "${{ github.actor }}/pyipam:${VERSION}"
          done