Fix cache invalidation on commit update
This commit is contained in:
parent
6c86fdaad0
commit
a7ae13efb7
8 changed files with 8 additions and 16 deletions
|
@ -8,8 +8,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN retry-tool sh -c \"rm -rf $SELF && git clone '$SCRIPT_REPO' $SELF\""
|
||||
to_df "RUN git -C $SELF checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN retry-tool sh -c \"rm -rf $SELF && git clone '$SCRIPT_REPO' $SELF\" && git -C $SELF checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -9,8 +9,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone --filter=blob:none \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone --filter=blob:none \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -12,8 +12,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -8,8 +8,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -9,8 +9,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -9,8 +9,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -9,8 +9,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
|
@ -12,8 +12,7 @@ ffbuild_enabled() {
|
|||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\""
|
||||
to_df "RUN git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
to_df "RUN git clone \"$SCRIPT_REPO\" \"$SELF\" && git -C \"$SELF\" checkout \"$SCRIPT_COMMIT\""
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
|
Loading…
Reference in a new issue