Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion ci-base/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-baseqt/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-common/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-materialx/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-ocio/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-oiio/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-opencue/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-openexr/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-openrv/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-openvdb/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-osl/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-otio/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-usd/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-vfxall/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/common/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax = docker/dockerfile:1.4
# syntax=docker/dockerfile:1.10
# Copyright (c) Contributors to the aswf-docker Project. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

Expand Down
7 changes: 2 additions & 5 deletions python/aswfdocker/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def make_bake_dict(
},
"tags": tags,
"output": ["type=registry,push=true" if self.push else "type=docker"],
"secrets": [
"secret": [
"id=conan_login_username,env=CONAN_LOGIN_USERNAME",
"id=conan_password,env=CONAN_PASSWORD",
],
Expand Down Expand Up @@ -235,7 +235,6 @@ def _build_conan_package(
version,
dry_run,
progress,
conan_login,
bake_jsonfile,
):
# pylint: disable=consider-using-f-string
Expand All @@ -246,7 +245,7 @@ def _build_conan_package(
# # "conan remote auth" stores credentials in
# # ${CONAN_HOME]/.conan2/credentials.json but we don't have a simple way to persist
# # this file between build steps, since instead we will use the secrets mechanism
# # in the buildx bake file to pass the CONNA_LOGIN_USERNAME and CONAN_PASSWORD
# # in the buildx bake file to pass the CONAN_LOGIN_USERNAME and CONAN_PASSWORD
# # values as environment variables to allow `conan upload" to authenticate on the fly.
# self._run_in_docker(
# base_cmd,
Expand Down Expand Up @@ -307,7 +306,6 @@ def build(
progress: str = "",
keep_source=False,
keep_build=False,
conan_login=False,
build_missing=False,
) -> None:
images_and_versions = []
Expand Down Expand Up @@ -343,6 +341,5 @@ def build(
version,
dry_run,
progress,
conan_login,
path,
)
3 changes: 1 addition & 2 deletions python/aswfdocker/cli/aswfdocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_group_info(build_info, ci_image_type, groups, versions, full_name, targe
"--conan-login",
"-cl",
is_flag=True,
help="Instruct build to perform a `conan user -p` to login.",
help="[DEPRECATED] This option is no longer used as authentication is now handled via buildx secrets.",
)
@click.option(
"--build-missing",
Expand Down Expand Up @@ -212,7 +212,6 @@ def build(
progress=progress,
keep_source=keep_source,
keep_build=keep_build,
conan_login=conan_login,
build_missing=build_missing,
)

Expand Down
2 changes: 1 addition & 1 deletion python/aswfdocker/data/ci-image-dockerfile.jinja2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.4
# syntax=docker/dockerfile:1.10
# Copyright (c) Contributors to the aswf-docker Project. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

Expand Down
6 changes: 3 additions & 3 deletions python/aswfdocker/tests/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_image_base_2019clang_dict(self):
f"{constants.DOCKER_REGISTRY}/aswflocaltesting/ci-openvdb:{openvdb_version}",
],
"output": ["type=docker"],
"secrets": [
"secret": [
"id=conan_login_username,env=CONAN_LOGIN_USERNAME",
"id=conan_password,env=CONAN_PASSWORD",
],
Expand Down Expand Up @@ -285,7 +285,7 @@ def test_image_base_2019_2020_dict(self):
f"{constants.DOCKER_REGISTRY}/aswflocaltesting/ci-base:{base_versions[1]}",
],
"output": ["type=docker"],
"secrets": [
"secret": [
"id=conan_login_username,env=CONAN_LOGIN_USERNAME",
"id=conan_password,env=CONAN_PASSWORD",
],
Expand Down Expand Up @@ -354,7 +354,7 @@ def test_image_base_2019_2020_dict(self):
f"{constants.DOCKER_REGISTRY}/aswflocaltesting/ci-base:{base_versions[0]}",
],
"output": ["type=docker"],
"secrets": [
"secret": [
"id=conan_login_username,env=CONAN_LOGIN_USERNAME",
"id=conan_password,env=CONAN_PASSWORD",
],
Expand Down
Loading