diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index afe92dc7..f513eb0e 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -5,6 +5,8 @@ on: branches: [ master ] pull_request: branches: [ master ] + schedule: + - cron: '0 2 * * *' jobs: @@ -69,7 +71,7 @@ jobs: needs: test-server runs-on: ubuntu-latest - if: github.event_name == 'push' + if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v2 diff --git a/images/server/Dockerfile.fedora b/images/server/Dockerfile.fedora index 67431aab..a632779a 100644 --- a/images/server/Dockerfile.fedora +++ b/images/server/Dockerfile.fedora @@ -1,5 +1,5 @@ FROM quay.io/samba.org/sambacc:latest AS builder -ARG SAMBACC_VER=b279787f9550 +ARG SAMBACC_VER=9d8e58b6ff49 ARG SAMBACC_REPO=https://github.com/samba-in-kubernetes/sambacc # the changeset hash on the next line ensures we get a specifc @@ -13,6 +13,7 @@ MAINTAINER John Mulligan ENV SAMBACC_VERSION="0.1" COPY smb.conf /etc/samba/smb.conf +RUN curl http://artifacts.ci.centos.org/gluster/nightly-samba/master/fedora/samba-nightly-master.repo -o /etc/yum.repos.d/samba-nightly-master.repo RUN dnf install --setopt=install_weak_deps=False -y \ findutils \ python-pip \ @@ -44,6 +45,7 @@ EXPOSE 445 ENV SAMBACC_CONFIG="/etc/samba/container.json:/etc/samba/users.json" ENV SAMBA_CONTAINER_ID="demo" +ENV SAMBA_SPECIFICS="daemon_cli_debug_output" ENTRYPOINT ["samba-container"] CMD ["run", "smbd"]