-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a603da1
commit e6dda3e
Showing
1 changed file
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
name: container ci | ||
|
||
on: | ||
push: | ||
branches: | ||
|
@@ -20,13 +18,6 @@ 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: | ||
|
@@ -44,8 +35,8 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./Source/Auction.${{ matrix.service }}.API/Dockerfile | ||
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 }}/auction-${{ steps.set_service_lowercase.outputs.service_lowercase }}-api:latest | ||