This commit is contained in:
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@ -39,7 +39,12 @@ jobs:
|
||||
run: docker login -u ${{ secrets.DOCKER_ID }} -p ${{ secrets.DOCKER_PW }} https://harbor.icurfer.com
|
||||
|
||||
- name: build
|
||||
run: docker build -t harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }} .
|
||||
#run: docker build -t harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }} .
|
||||
run: |
|
||||
docker buildx build \
|
||||
--load \
|
||||
-t harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }} \
|
||||
.
|
||||
|
||||
- name: Push to Docker
|
||||
run: docker push harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
|
||||
@ -91,4 +96,4 @@ jobs:
|
||||
git config --global user.email "icurfer@gmail.com"
|
||||
git config --global user.name "icurfer"
|
||||
git commit -am "Update image tag"
|
||||
git push -u origin main
|
||||
git push -u origin main
|
||||
|
||||
Reference in New Issue
Block a user