File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -105,3 +105,14 @@ jobs:
105105 platforms : linux/amd64,linux/arm64
106106 push : true
107107 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}
You can’t perform that action at this time.
0 commit comments