Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(test): use buildx edge releases #561

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci(test): use buildx edge releases
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
crazy-max committed Jan 18, 2025
commit 703a1d1973dc0a77e498c1e32f101f830da2a3a3
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ on:

env:
NODE_VERSION: "20"
BUILDX_VERSION: "v0.19.3"
BUILDX_VERSION: "edge"
BUILDKIT_IMAGE: "moby/buildkit:v0.18.2"

jobs:

Unchanged files with check annotations Beta

# See the License for the specific language governing permissions and
# limitations under the License.
frOM busybox as base

Check warning on line 17 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'frOM' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
cOpy lint.Dockerfile .

Check warning on line 18 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'cOpy' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/

Check warning on line 18 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'cOpy' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
# some special chars: distroless/python3-debian12のPythonは3.11
# https://github.com/docker/build-push-action/issues/1204#issuecomment-2274056016
from scratch

Check warning on line 23 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'from' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
MAINTAINER moby@example.com

Check warning on line 24 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

The MAINTAINER instruction is deprecated, use a label instead to define an image author

MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label More info: https://docs.docker.com/go/dockerfile/rule/maintainer-deprecated/
COPy --from=base \

Check warning on line 25 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/

Check warning on line 25 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
/lint.Dockerfile \
/
CMD [ "echo", "Hello, Norway!" ]

Check warning on line 29 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

Multiple instructions of the same type should not be used in the same stage

MultipleInstructionsDisallowed: Multiple CMD instructions should not be used in the same stage because only the last one will be used More info: https://docs.docker.com/go/dockerfile/rule/multiple-instructions-disallowed/
CMD [ "echo", "Hello, Sweden!" ]
ENTRYPOINT my-program start

Check warning on line 31 in __tests__/.fixtures/lint.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for ENTRYPOINT to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
# See the License for the specific language governing permissions and
# limitations under the License.
frOM busybox as base

Check warning on line 17 in __tests__/.fixtures/lint-other.Dockerfile

GitHub Actions / test-itg (ubuntu-latest, buildx/buildx.test.itg.ts)

All commands within the Dockerfile should use the same casing (either upper or lower)

ConsistentInstructionCasing: Command 'frOM' should match the case of the command majority (uppercase) More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
cOpy lint-other.Dockerfile .
froM busybox aS notused