File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ jobs:
100100 source venv/bin/activate
101101 pytest -m integration -v
102102
103- docker :
104- name : Build and Push Docker Image
103+ docker-deploy :
104+ name : Build and Push Deployment Image
105105 runs-on : ubuntu-latest
106106 needs : [lint, actionlint, test]
107107 if : github.event_name == 'push' && github.ref == 'refs/heads/master' || github.event_name == 'release'
@@ -111,6 +111,8 @@ jobs:
111111 steps :
112112 - name : Checkout code
113113 uses : actions/checkout@v4
114+ with :
115+ submodules : recursive
114116
115117 - name : Install Podman
116118 run : |
@@ -125,16 +127,14 @@ jobs:
125127 id : slug
126128 run : echo "SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)" >> "$GITHUB_OUTPUT"
127129
128- - name : Build and push container image
130+ - name : Build and push deployment image
129131 run : |
130- # Build the image
131132 GITHUB_REPOSITORY="$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')"
132- podman build -t "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:latest" \
133+ podman build -f deploy.Dockerfile \
134+ -t "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:latest" \
133135 -t "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:${{ github.sha }}" \
134136 -t "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:${{ steps.slug.outputs.SHORT_SHA }}" \
135137 .
136-
137- # Push all tags
138138 podman push "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:latest"
139139 podman push "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:${{ github.sha }}"
140140 podman push "ghcr.io/${GITHUB_REPOSITORY}/vtk-mcp:${{ steps.slug.outputs.SHORT_SHA }}"
You can’t perform that action at this time.
0 commit comments