Adding the configuration change for multiple provider, Making the service run in foreground and adding test
This commit is contained in:
1 parent
85ab503afb
commit
4eaa4d91ea
10 files changed
+1639
-140
No files matched your search
@@ -1,9 +1,8 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 1 * *' # This runs at midnight on the first day of every month
|
||||
- cron: "0 0 1 * *" # This runs at midnight on the first day of every month
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
@@ -13,21 +12,20 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Build the Docker image
|
||||
id: build
|
||||
run: |
|
||||
docker build . -t k2patel/postfix:latest
|
||||
echo "IMAGE_NAME=k2patel/postfix:latest" >> $GITHUB_ENV
|
||||
|
||||
- name: Push the Docker image
|
||||
run: docker push ${{ env.IMAGE_NAME }}
|
||||
- name: Build the Docker image
|
||||
id: build
|
||||
run: |
|
||||
docker build . -t k2patel/postfix:latest
|
||||
echo "IMAGE_NAME=k2patel/postfix:latest" >> $GITHUB_ENV
|
||||
|
||||
- name: Push the Docker image
|
||||
run: docker push ${{ env.IMAGE_NAME }}
|
||||
Reference in new issue
Block a user