Skip to content

Commit 3f1d830

Browse files
committed
bump versions
1 parent 9b72a47 commit 3f1d830

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
build_pypi_and_docker:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v5
2323
with:
2424
fetch-depth: 0 # unshallow checkout enables setuptools_scm to infer PyPi version from Git
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@v6
2828
with:
29-
python-version: '3.7'
29+
python-version: '3.13'
3030

3131
- name: Install dependencies
3232
run: |
@@ -37,7 +37,7 @@ jobs:
3737
run: python -m build
3838

3939
- name: Upload Wheel Artifact
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: netfoundry-wheel-${{ github.run_id }}
4343
path: dist/netfoundry-*.whl
@@ -98,7 +98,7 @@ jobs:
9898
delete network
9999
100100
- name: Publish Test Package
101-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
101+
uses: pypa/gh-action-pypi-publish@v1
102102
with:
103103
user: __token__
104104
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
@@ -120,38 +120,38 @@ jobs:
120120
121121
- name: Publish Release to PyPi
122122
if: github.event.action == 'published'
123-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
123+
uses: pypa/gh-action-pypi-publish@v1
124124
with:
125125
user: __token__
126126
password: ${{ secrets.PYPI_API_TOKEN }}
127127

128128
- name: Attach Wheel Artifact to GH Release
129129
if: ${{ github.event.action == 'published' }}
130-
uses: softprops/action-gh-release@v1
130+
uses: softprops/action-gh-release@v2
131131
with:
132132
files: dist/netfoundry-*.whl
133133
fail_on_unmatched_files: true
134134
generate_release_notes: true
135135

136136
- name: Set up QEMU
137-
uses: docker/setup-qemu-action@master
137+
uses: docker/setup-qemu-action@v3
138138
with:
139139
platforms: amd64,arm64
140140
# ignore arm/v7 (32bit) because unsupported by "cryptography" dep of
141141
# Ansible and demand seems unlikely
142142

143143
- name: Set up Docker BuildKit
144144
id: buildx
145-
uses: docker/setup-buildx-action@master
145+
uses: docker/setup-buildx-action@v3
146146

147147
- name: Login to Docker Hub
148-
uses: docker/login-action@v1
148+
uses: docker/login-action@v3
149149
with:
150150
username: ${{ secrets.DOCKER_HUB_API_USER }}
151151
password: ${{ secrets.DOCKER_HUB_API_TOKEN }}
152152

153153
- name: Build & Push Multi-Platform Container
154-
uses: docker/build-push-action@v2
154+
uses: docker/build-push-action@v6
155155
with:
156156
context: ${{ github.workspace }} # build context is workspace so we can copy artifacts from ./dist/
157157
file: ${{ github.workspace }}/docker/Dockerfile

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-slim-buster
1+
FROM python:3.13-slim-bookworm
22
COPY ./dist/netfoundry-*.whl /tmp/
33
RUN pip install --upgrade pip
44
RUN pip install /tmp/netfoundry-*.whl

0 commit comments

Comments
 (0)