From 53532617c2319f8b8ce616243ea2ccc2c2f0c0dd Mon Sep 17 00:00:00 2001 From: dadada Date: Sat, 21 May 2022 12:33:38 +0200 Subject: [PATCH] move update script to path --- Dockerfile | 4 +--- lib/gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01b6e7d..73a59d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,4 @@ FROM alpine/git RUN apk add --no-cache curl -ADD update /update - -ENTRYPOINT /bin/sh +ADD update /bin/update diff --git a/lib/gitlab-ci.yml b/lib/gitlab-ci.yml index fe5e55c..81bab01 100644 --- a/lib/gitlab-ci.yml +++ b/lib/gitlab-ci.yml @@ -12,5 +12,5 @@ update: - git config --global user.email "git@git.fginfo.tu-bs.de" - git config --global user.name "Gitlab CI" script: - - /update < pads.txt + - update < pads.txt - git push "https://gitlab-ci-token:${CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci