diff --git a/cmd/skopeo/cgo_pthread_ordering_workaround.go b/cmd/skopeo/cgo_pthread_ordering_workaround.go index b19ee1b5f6..c52aeb1395 100644 --- a/cmd/skopeo/cgo_pthread_ordering_workaround.go +++ b/cmd/skopeo/cgo_pthread_ordering_workaround.go @@ -1,3 +1,4 @@ +//go:build !containers_image_openpgp // +build !containers_image_openpgp package main diff --git a/cmd/skopeo/unshare.go b/cmd/skopeo/unshare.go index acb2f29aea..621bc4bec9 100644 --- a/cmd/skopeo/unshare.go +++ b/cmd/skopeo/unshare.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package main diff --git a/integration/openshift_shell_test.go b/integration/openshift_shell_test.go index ad635d3629..8e67a9995f 100644 --- a/integration/openshift_shell_test.go +++ b/integration/openshift_shell_test.go @@ -1,3 +1,4 @@ +//go:build openshift_shell // +build openshift_shell package main