Skip to content

Commit

Permalink
fix(ci): include missing folders
Browse files Browse the repository at this point in the history
  • Loading branch information
jramsgz committed Nov 10, 2023
1 parent a52446b commit c93cf38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ archives:
- LICENSE
- config/.env.sample
- templates
- locales
- src: ui/dist/*
dst: static
strip_parent: false
Expand All @@ -51,6 +52,8 @@ dockers:
- "--platform=linux/amd64"
extra_files:
- config/.env.sample
- templates
- locales
- ui/dist
- image_templates:
- 'ghcr.io/jramsgz/articpad:{{ .Tag }}-arm64'
Expand All @@ -67,6 +70,8 @@ dockers:
goarch: arm64
extra_files:
- config/.env.sample
- templates
- locales
- ui/dist

docker_manifests:
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ FROM alpine:latest as release
WORKDIR /app

# Copy the compiled executable.
COPY articpad .
COPY articpad .
# Copy the .env file.
COPY config/.env.sample ./config/.env
# Copy templates.
COPY templates ./templates
COPY templates/ ./templates/
# Copy locales.
COPY locales/ ./locales/
# Copy the static files.
COPY ui/dist ./static
COPY ui/dist/ ./static/

# Add packages
RUN apk -U upgrade \
Expand Down

0 comments on commit c93cf38

Please sign in to comment.