mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-26 15:45:18 +08:00
.
This commit is contained in:
parent
1d1b0ae04a
commit
459366e2e8
@ -22,7 +22,6 @@
|
|||||||
**/.tye/
|
**/.tye/
|
||||||
**/secrets.dev.yaml
|
**/secrets.dev.yaml
|
||||||
**/values.dev.yaml
|
**/values.dev.yaml
|
||||||
!dist/
|
|
||||||
LICENSE
|
LICENSE
|
||||||
README.md
|
README.md
|
||||||
CHANGELOG.md
|
CHANGELOG.md
|
||||||
|
|||||||
18
.github/workflows/build-publish.yml
vendored
18
.github/workflows/build-publish.yml
vendored
@ -19,11 +19,6 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@ -38,16 +33,5 @@ jobs:
|
|||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build image and push to Docker Hub and GitHub Container Registry
|
- name: Build image and push to Docker Hub and GitHub Container Registry
|
||||||
uses: docker/build-push-action@v2
|
run: docker build -t meysamhadeli/booking-microservices/flight:latest -f ./src/Services/Flight/Dockerfile .
|
||||||
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' }}
|
|
||||||
|
|
||||||
- name: Image digest
|
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user