Skip to content

Commit

Permalink
add test container to GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeadie committed Mar 28, 2023
1 parent 3853211 commit 2e5d4c7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,22 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
- name: Build & push training Docker image
id: build-and-push-training
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: Dockerfile.training
file: Dockerfile.training

- name: Build and push test Docker image
id: build-and-push-test
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}-test
labels: ${{ steps.meta.outputs.labels }}
file: Dockerfile.test

0 comments on commit 2e5d4c7

Please sign in to comment.