fix(cicd): sets gitea.workspace as docker build env
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 3s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 3s
This commit is contained in:
parent
51798e5e37
commit
fc9c73a20d
@ -10,10 +10,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: List repository files
|
||||
run: ls ${{ gitea.workspace }}
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- name: Build the Docker Image
|
||||
run: |
|
||||
docker build -t sprout-db-migrations:latest -f ${{ gitea.workspace }}/Dockerfile ${{ gitea.workspace }}
|
||||
cd ${{ gitea.workspace }} && docker build -t sprout-db-migrations:latest -f Dockerfile .
|
||||
|
||||
- name: Login to Container Registry
|
||||
run: echo "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin ${{ secrets.DOCKER_REGISTRY }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user