Skip to content

Commit

Permalink
Merge pull request #31 from ai-cfia/26-add-github-workflow-to-build-a…
Browse files Browse the repository at this point in the history
…nd-push-the-container-to-this-organisation-github-registry-and-clean-up-of-old-workflows

issue #26: build and push to gcr, removed old deployment workflow
  • Loading branch information
ThomasCardin authored Jan 22, 2024
2 parents fb49d23 + e8156e0 commit 0db4293
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/azure-deployment.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/build-push-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker build and push to ghcr.io/ai-cfia and lint test

on:
pull_request:
types:
- opened
- closed
- synchronize

jobs:
lint-test:
uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main
secrets: inherit

deploy:
uses: ai-cfia/github-workflows/.github/workflows/workflow-build-push-container-github-registry.yml@63-as-a-devops-i-would-like-to-create-a-workflow-to-push-images-to-this-organisation-docker-registry
with:
container-name: ${{ github.event.repository.name }}
tag: ${{ github.sha }}
registry: ghcr.io/ai-cfia
secrets: inherit

0 comments on commit 0db4293

Please sign in to comment.