diff --git a/.github/workflows/image_build_push.yml b/.github/workflows/image_build_push.yml index 3b991786a..f7cb2058e 100644 --- a/.github/workflows/image_build_push.yml +++ b/.github/workflows/image_build_push.yml @@ -6,7 +6,7 @@ name: docker image # events but only for the master branch on: push: - branches: [ master, gis-based-mode-detection ] + branches: [ master, gis-based-mode-detection, natalie-branch ] # Env variable @@ -38,11 +38,22 @@ jobs: run: echo running in repo ${GITHUB_REPOSITORY#*/} branch ${GITHUB_REF##*/} on ${{ steps.date.outputs.date }} # Runs a set of commands using the runners shell - - name: build docker image - run: | - docker build -t $DOCKER_USER/${GITHUB_REPOSITORY#*/}:${GITHUB_REF##*/}_${{ steps.date.outputs.date }} . - docker images + # - name: build docker image + # run: | + # docker build -t $DOCKER_USER/${GITHUB_REPOSITORY#*/}:${GITHUB_REF##*/}_${{ steps.date.outputs.date }} . + # docker images + + # - name: push docker image + # run: | + # docker push $DOCKER_USER/${GITHUB_REPOSITORY#*/}:${GITHUB_REF##*/}_${{ steps.date.outputs.date }} - - name: push docker image + - name: Write tag file run: | - docker push $DOCKER_USER/${GITHUB_REPOSITORY#*/}:${GITHUB_REF##*/}_${{ steps.date.outputs.date }} + echo '${{ steps.date.outputs.date }}' > tag.txt + + - uses: actions/upload-artifact@v4 + with: + name: server-image-tag + path: tag.txt + if-no-files-found: error + overwrite: true diff --git a/Dockerfile b/Dockerfile index 7fa923ea0..8105f51b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ ENV WEB_SERVER_HOST='' ENV LIVERELOAD_SRC='' ENV STUDY_CONFIG='' RUN chmod u+x ./.docker/docker_start_script.sh +RUN echo "hello world!" EXPOSE 8080