diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e572c9a..9421d78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,8 +85,8 @@ jobs: uses: docker/build-push-action@v5 with: build-args: | - VERSION:${{ steps.goreleaser_meta_parser.outputs.version }} - COMMIT_DATE:${{ steps.goreleaser_meta_parser.outputs.date }} + VERSION=${{ steps.goreleaser_meta_parser.outputs.version }} + COMMIT_DATE=${{ steps.goreleaser_meta_parser.outputs.date }} context: . target: deploy push: true @@ -119,8 +119,8 @@ jobs: uses: docker/build-push-action@v5 with: build-args: | - VERSION:${{ steps.goreleaser_meta_parser.outputs.version }} - COMMIT_DATE:${{ steps.goreleaser_meta_parser.outputs.date }} + VERSION=${{ steps.goreleaser_meta_parser.outputs.version }} + COMMIT_DATE=${{ steps.goreleaser_meta_parser.outputs.date }} context: . target: amazonlinux push: true diff --git a/Dockerfile b/Dockerfile index 806dff4..729ff67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,7 +61,8 @@ RUN mkdir -p /config ENV TZ=Etc/UTC ENV CLI_CRON="0 2 * * *" -RUN groupadd -r raito && useradd -r -g raito raito +RUN groupadd -r raito && useradd -d /home/raito -g raito raito + RUN chown raito:raito /config COPY --from=build /app/raito /raito