fix(cicd): adds checkout step
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 11s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 11s
This commit is contained in:
parent
777ea50b62
commit
689139a9e6
@ -11,18 +11,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: List repository files
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
- name: Build the Docker Image
|
|
||||||
run: |
|
|
||||||
cd ${{ gitea.workspace }} && docker build -t sprout-db-migrations:latest -f Dockerfile .
|
|
||||||
|
|
||||||
- name: Log in to Docker Hub - Main web app container registry
|
- name: Log in to Docker Hub - Main web app container registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
registyr: ${{ secrets.DOCKER_REGISTRY }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Main web app container image to registry
|
- name: Build and push Main web app container image to registry
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user