Skip to content

Commit e86881d

Browse files
committed
feat: add Docker-Release job to workflow for building and pushing Docker images
1 parent 91c1b07 commit e86881d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,14 @@ jobs:
7676
~/.local/share/uv
7777
.venv
7878
key: uv-main-${{ env.UV_VERSION }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('pyproject.toml', 'uv.lock') }}
79+
80+
Docker-Release:
81+
uses: ./.github/workflows/docker-build-and-scan.yaml
82+
needs: Semantic-Release
83+
secrets: inherit
84+
with:
85+
DOCKER_PATH_CONTEXT: .
86+
DOCKER_BUILD_DOCKERFILE: Dockerfile
87+
DOCKER_LOAD_BOOL: false
88+
DOCKER_TAGS: milsman2/sample-python-app:${{ needs.Semantic-Release.outputs.tag }}
89+
DOCKER_PUSH_BOOL: true

0 commit comments

Comments
 (0)