Skip to content

Commit

Permalink
ci: ajout push images
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerPixel committed Feb 6, 2024
1 parent 2c11b6e commit 12d6cdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,21 @@ jobs:
with:
# relative path to the place where source code with Dockerfile is located
file: ./Dockerfile.api
push: true
tags: ${{secrets.DOCKERHUB_USERNAME}}/api:latest

- name: Build image and push database
uses: docker/build-push-action@v3
with:
# relative path to the place where source code with Dockerfile is located
file: ./Dockerfile.db
push: true
tags: ${{secrets.DOCKERHUB_USERNAME}}/database:latest

- name: Build image and push httpd
uses: docker/build-push-action@v3
with:
# relative path to the place where source code with Dockerfile is located
file: ./Dockerfile.http
push: true
tags: ${{secrets.DOCKERHUB_USERNAME}}/httpd:latest

0 comments on commit 12d6cdc

Please sign in to comment.