Add --no-cache to the correct place in the build command.
All checks were successful
Build / build (push) Successful in 27m11s

This commit is contained in:
H. Utku Maden 2024-07-23 22:48:53 +03:00
parent db4b7e7c46
commit d0f5760c7a

@ -18,7 +18,7 @@ jobs:
- name: Check repository out. - name: Check repository out.
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build Docker Image - name: Build Docker Image
run: "docker build -t --no-cache git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ." run: "docker build --no-cache -t git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ."
- name: Upload Docker Image - name: Upload Docker Image
run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}" run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}"
- name: Alias image as latest and push. - name: Alias image as latest and push.