samba-in-kubernetes / samba-container

Build Samba Container Images / Kubernetes & Container Runtime Example Files
GNU General Public License v3.0
48 stars 18 forks source link

error in build-image script in CI #151

Closed phlogistonjohn closed 1 year ago

phlogistonjohn commented 1 year ago

The new build-image script encountered an exception while running the push job in the CI: https://github.com/samba-in-kubernetes/samba-container/actions/runs/5640169117/job/15276476477

Step 24/24 : CMD ["run", "smbd"]
 ---> Running in d71e6b4cc928
Removing intermediate container d71e6b4cc928
 ---> c863549f232c
Successfully built c863549f232c
Successfully tagged quay.io/samba.org/samba-server:default-fedora-amd64
Successfully tagged quay.io/samba.org/samba-server:latest
Successfully tagged quay.io/samba.org/samba-server:fedora-latest
Successfully tagged samba-server:default-fedora-amd64
Successfully tagged samba-server:fedora-latest
/home/runner/work/samba-container/samba-container/hack/build-image --without-repo-bases --container-engine=docker  --kind=server --package-source=default --distro-base=fedora  --repo-base=quay.io/samba.org/  --push
Traceback (most recent call last):
  File "/home/runner/work/samba-container/samba-container/hack/build-image", line 593, in <module>
    main()
  File "/home/runner/work/samba-container/samba-container/hack/build-image", line 583, in main
    _action(cli, img)
  File "/home/runner/work/samba-container/samba-container/hack/build-image", line 401, in push
    if tag.endswith(("-latest", "-nightly")):
AttributeError: 'tuple' object has no attribute 'endswith'
make: *** [Makefile:94: push-server] Error 1
Error: Process completed with exit code 2.