File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change 4444 - uses : pypa/gh-action-pypi-publish@release/v1
4545 with :
4646 packages-dir : ${{ needs.package_name.outputs.package_name}}/dist
47-
48- docker :
49- name : Build Docker Image
50- runs-on : ubuntu-latest
51- needs : package_name
52- if : ${{ needs.package_name.outputs.package_name }} == 'stapi-fastapi'
53-
54- permissions :
55- contents : read
56- packages : write
57- id-token : write
58-
59- steps :
60- - name : Log in to the Container Registry
61- uses : docker/login-action@v3
62- with :
63- registry : ghcr.io
64- username : ${{ github.actor }}
65- password : ${{ secrets.GITHUB_TOKEN }}
66- - name : Set up Docker Buildx
67- uses : docker/setup-buildx-action@v3
68- - name : Build and Push Docker Image
69- uses : docker/build-push-action@v6
70- with :
71- push : true
72- tags : stapi-spec/stapi-fastapi:${{ github.ref_name }}
73- build-args : PYTHON_VERSION='3.12'
You can’t perform that action at this time.
0 commit comments