Skip to content

Commit

Permalink
chose: update container-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermelinosp authored Feb 29, 2024
1 parent 648f04d commit 6f49e9b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/container-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
dynamic:
Expand All @@ -17,6 +19,13 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/[email protected]

with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to Github Container
uses: docker/[email protected]
with:
Expand All @@ -37,5 +46,5 @@ jobs:
file: ./Source/${{ matrix.service }}/Auction.${{ matrix.service }}.API/dockerfile
push: true
tags: |
ghcr.io/${{ github.actor }}/auction-${{ steps.set_service_lowercase.outputs.service_lowercase }}-api:latest
ghcr.io/${{ github.actor }}/${{ steps.set_service_lowercase.outputs.service_lowercase }}-api:latest
///docker.io/${{ github.actor }}/auction-${{ steps.set_service_lowercase.outputs.service_lowercase }}-api:latest

0 comments on commit 6f49e9b

Please sign in to comment.