test
Some checks failed
Gentoo Utils / build-oci-image (push) Failing after 1s
Gentoo Utils / build (push) Has been skipped
Gentoo Utils / test (push) Has been skipped
Gentoo Utils / fuzz (push) Has been skipped
Gentoo Utils / check-format (push) Has been skipped
Gentoo Utils / docs (push) Has been skipped
Gentoo Utils / grep (push) Has been skipped
Some checks failed
Gentoo Utils / build-oci-image (push) Failing after 1s
Gentoo Utils / build (push) Has been skipped
Gentoo Utils / test (push) Has been skipped
Gentoo Utils / fuzz (push) Has been skipped
Gentoo Utils / check-format (push) Has been skipped
Gentoo Utils / docs (push) Has been skipped
Gentoo Utils / grep (push) Has been skipped
This commit is contained in:
@@ -31,6 +31,8 @@ USER gentooligan
|
|||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
|
RUN echo "test" > ~/test.txt
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
if ! git merge-base --is-ancestor $comparison_hash $branch_name >/dev/null 2>&1; then
|
if ! git merge-base --is-ancestor $comparison_hash $branch_name >/dev/null 2>&1; then
|
||||||
comparison_hash=$(git merge-base origin/$default_branch_name $branch_name)
|
comparison_hash=$(git merge-base origin/$default_branch_name $branch_name)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! git diff $comparison_hash ${{ gitea.sha }} --no-patch --exit-code .docker; then
|
if ! git diff $comparison_hash ${{ gitea.sha }} --no-patch --exit-code .docker; then
|
||||||
build_image=true
|
build_image=true
|
||||||
else
|
else
|
||||||
@@ -65,8 +65,6 @@ jobs:
|
|||||||
- name: Set up Docker buildx
|
- name: Set up Docker buildx
|
||||||
if: steps.image-changes.outputs.build_image == 'true'
|
if: steps.image-changes.outputs.build_image == 'true'
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
|
||||||
driver-opts: network=runners-net
|
|
||||||
|
|
||||||
- name: Log in to Github Container Registry
|
- name: Log in to Github Container Registry
|
||||||
if: steps.image-changes.outputs.build_image == 'true'
|
if: steps.image-changes.outputs.build_image == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user