File tree 3 files changed +22
-3
lines changed
3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 83
83
- name : Set up QEMU
84
84
uses : docker/setup-qemu-action@master
85
85
with :
86
- platforms : amd64,arm,arm64
86
+ platforms : amd64,arm64
87
+ # ignore arm/v7 (32bit) because unsupported by "cryptography" dep of
88
+ # Ansible and demand seems unlikely
87
89
88
90
- name : Set up Docker BuildKit
89
91
id : buildx
@@ -100,6 +102,17 @@ jobs:
100
102
with :
101
103
context : . # build context is workspace so we can copy artifacts from ./dist/
102
104
builder : ${{ steps.buildx.outputs.name }}
103
- platforms : linux/amd64,linux/arm/v7,linux/ arm64
105
+ platforms : linux/amd64,linux/arm64
104
106
push : true
105
107
tags : ${{ steps.compose_tags.outputs.container_tags }}
108
+
109
+ - name : Build & Push Multi-Platform Container Image to Hub
110
+ if : github.event.action == 'published'
111
+ uses : docker/build-push-action@v2
112
+ with :
113
+ context : . # build context is workspace so we can copy artifacts from ./dist/
114
+ file : Dockerfile.demo
115
+ builder : ${{ steps.buildx.outputs.name }}
116
+ platforms : linux/amd64,linux/arm64
117
+ push : true
118
+ tags : netfoundry/python:demo
Original file line number Diff line number Diff line change
1
+ FROM netfoundry/python
2
+ ARG network_name=BibbidiBobbidiBoo
3
+ ENV NETWORK_NAME=${network_name}
4
+ CMD python3 -m netfoundry.demo --network ${NETWORK_NAME}
Original file line number Diff line number Diff line change 48
48
49
49
[ ![ Video Tour of Release Procedure] ( https://img.youtube.com/vi/RlIa2mv8YIM/0.jpg )] ( https://youtu.be/RlIa2mv8YIM )
50
50
51
+ ```
51
52
00:00 Welcome Pythonistas
52
53
00:50 Determine next version number
53
54
01:30 GitFlow Release Start
63
64
10:30 GitHub Create Release
64
65
12:00 Verify Published Artifacts in PyPi and Hub
65
66
12:30 PyPi Upgrade Gets New Version
66
- 13:30 Docker Run Check Version
67
+ 13:30 Docker Run Check Version
68
+ ```
You can’t perform that action at this time.
0 commit comments