Fixed build after gitea update
This commit is contained in:
parent
526c82096c
commit
5bf6e6bc3c
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build
|
name: automation
|
||||||
path: target/x86_64-unknown-linux-gnu/release/automation
|
path: target/x86_64-unknown-linux-gnu/release/automation
|
||||||
|
|
||||||
container:
|
container:
|
||||||
|
@ -41,12 +41,12 @@ jobs:
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build
|
name: automation
|
||||||
|
|
||||||
- name: Set permissions
|
- name: Set permissions
|
||||||
run: |
|
run: |
|
||||||
chown 65532:65532 ./build/*
|
chown 65532:65532 ./automation
|
||||||
chmod 0755 ./build/*
|
chmod 0755 ./automation
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
|
|
@ -3,6 +3,6 @@ FROM gcr.io/distroless/cc-debian12:nonroot
|
||||||
ENV AUTOMATION_CONFIG=/app/config.lua
|
ENV AUTOMATION_CONFIG=/app/config.lua
|
||||||
COPY ./config.lua /app/config.lua
|
COPY ./config.lua /app/config.lua
|
||||||
|
|
||||||
COPY ./build/automation /app/automation
|
COPY ./automation /app/automation
|
||||||
|
|
||||||
CMD ["/app/automation"]
|
CMD ["/app/automation"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user