Fix Docker build and publish API doc actions

This commit is contained in:
grossmj 2026-05-13 17:19:08 +08:00
parent 7cf25bc0d5
commit ba79f1c226
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7
3 changed files with 4 additions and 4 deletions

View File

@ -16,14 +16,14 @@ jobs:
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}

View File

@ -18,7 +18,7 @@ jobs:
ref: "gh-pages"
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Merge changes from 3.0 branch
run: |
git config user.name github-actions

View File

@ -34,4 +34,4 @@ COPY . /gns3server
RUN mkdir -p ~/.config/GNS3/3.0/
RUN cp scripts/gns3_server.conf ~/.config/GNS3/3.0/
RUN python3 -m pip install --break-system-packages .
RUN python3 -m pip install --break-system-packages --ignore-installed .