Skip to content

Commit

Permalink
Move argo-workflow containers to central containers directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Keay committed Sep 10, 2024
1 parent bbc2080 commit c7f1382
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/build-container-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ on:
workflow_dispatch:
pull_request:
paths:
- 'argo-workflows/*/containers/*'
- 'argo-workflows/*/code/**'
- '!argo-workflows/example-feature/**'
- "containers/argo_utils/**"
- "containers/obm-utils/**"
- "containers/python311_alpine/**"
- "containers/python312_alpine/**"
push:
branches:
- main
paths:
- 'argo-workflows/*/containers/*'
- 'argo-workflows/*/code/**'
- '!argo-workflows/example-feature/**'
- "containers/argo_utils/**"
- "containers/obm-utils/**"
- "containers/python311_alpine/**"
- "containers/python312_alpine/**"

# bump container versions here, they will be populated to tags and labels
env:
Expand Down Expand Up @@ -46,8 +48,8 @@ jobs:
- name: Build and deploy Python 3.11 image
uses: docker/build-push-action@v5
with:
context: argo-workflows/containers/python311_alpine/
file: argo-workflows/containers/python311_alpine/Dockerfile.python311_alpine
context: containers/python311_alpine/
file: containers/python311_alpine/Dockerfile.python311_alpine
# push for all main branch commits
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/rackerlabs/understack/argo-python3.11.8-alpine3.19:latest,ghcr.io/rackerlabs/understack/argo-python3.11.8-alpine3.19:${{ env.VERSION_PYTHON311 }}
Expand All @@ -57,8 +59,8 @@ jobs:
- name: Build and deploy Python 3.12 image
uses: docker/build-push-action@v5
with:
context: argo-workflows/containers/python312_alpine/
file: argo-workflows/containers/python312_alpine/Dockerfile.python312_alpine
context: containers/python312_alpine/
file: containers/python312_alpine/Dockerfile.python312_alpine
# push for all main branch commits
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/rackerlabs/understack/argo-python3.12.2-alpine3.19:latest,ghcr.io/rackerlabs/understack/argo-python3.12.2-alpine3.19:${{ env.VERSION_PYTHON312 }}
Expand All @@ -68,8 +70,8 @@ jobs:
- name: Build and deploy Argo Utils image
uses: docker/build-push-action@v5
with:
context: argo-workflows/containers/argo_utils/
file: argo-workflows/containers/argo_utils/Dockerfile.argo_utils
context: containers/argo_utils/
file: containers/argo_utils/Dockerfile.argo_utils
# push for all main branch commits
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/rackerlabs/understack/argo-utils-python3.11.8:latest,ghcr.io/rackerlabs/understack/argo-utils-python3.11.8:${{ env.VERSION_ARGO_UTILS }}
Expand All @@ -79,8 +81,8 @@ jobs:
- name: Build and deploy OBM Utils image
uses: docker/build-push-action@v5
with:
context: argo-workflows/containers/obm-utils/
file: argo-workflows/containers/obm-utils/Dockerfile.obm_utils
context: containers/obm-utils/
file: containers/obm-utils/Dockerfile.obm_utils
# push for all main branch commits
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/rackerlabs/understack/argo-obm-utils-python3.11.8:latest,ghcr.io/rackerlabs/understack/argo-obm-utils-python3.11.8:${{ env.VERSION_OBM_UTILS }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c7f1382

Please sign in to comment.