This commit is contained in:
meysamhadeli 2023-01-24 19:05:58 +03:30
parent 1d1b0ae04a
commit 459366e2e8
2 changed files with 1 additions and 18 deletions

View File

@ -22,7 +22,6 @@
**/.tye/
**/secrets.dev.yaml
**/values.dev.yaml
!dist/
LICENSE
README.md
CHANGELOG.md

View File

@ -19,11 +19,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
# setup Docker buld action
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
@ -38,16 +33,5 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image and push to Docker Hub and GitHub Container Registry
uses: docker/build-push-action@v2
with:
# relative path to the place where source code with Dockerfile is located
context: ./src/Services/Flight
# Note: tags has to be all lower-case
tags: |
meysamhadeli/booking-microservices/flight:latest
ghcr.io/meysamhadeli/booking-microservices/flight:latest
# build on feature branches, push only on develop branch
push: ${{ github.ref == 'refs/heads/develop' }}
run: docker build -t meysamhadeli/booking-microservices/flight:latest -f ./src/Services/Flight/Dockerfile .
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}