fix: update docker tag and include forgeflux forge type
This commit is contained in:
parent
c0109cd365
commit
3a3d3e37d4
3 changed files with 7 additions and 6 deletions
|
@ -18,9 +18,9 @@ COPY . .
|
||||||
COPY --from=cacher /src/target target
|
COPY --from=cacher /src/target target
|
||||||
RUN make release
|
RUN make release
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:latest
|
||||||
LABEL org.opencontainers.image.source https://github.com/forgeflux-org/starchart
|
#LABEL org.opencontainers.image.source https://github.com/forgeflux-org/starchart
|
||||||
RUN apt-get update && apt-get install -y ca-certificates
|
RUN apt-get update && apt-get install -y ca-certificates libssl-dev
|
||||||
COPY --from=builder /src/target/release/starchart /usr/local/bin/
|
COPY --from=builder /src/target/release/starchart /usr/local/bin/
|
||||||
COPY --from=builder /src/config/default.toml /etc/starchart/config.toml
|
COPY --from=builder /src/config/default.toml /etc/starchart/config.toml
|
||||||
COPY scripts/entrypoint.sh /usr/local/bin
|
COPY scripts/entrypoint.sh /usr/local/bin
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -98,11 +98,11 @@ doc: ## Prepare documentation
|
||||||
cargo doc --no-deps --workspace --all-features
|
cargo doc --no-deps --workspace --all-features
|
||||||
|
|
||||||
docker: ## Build docker images
|
docker: ## Build docker images
|
||||||
docker build -t forgedfed/starchart:master -t forgedfed/starchart:latest .
|
docker build -t forgeflux/starchart:master -t forgeflux/starchart:latest .
|
||||||
|
|
||||||
docker-publish: docker ## Build and publish docker images
|
docker-publish: docker ## Build and publish docker images
|
||||||
docker push forgedfed/starchart:master
|
docker push forgeflux/starchart:master
|
||||||
docker push forgedfed/starchart:latest
|
docker push forgeflux/starchart:latest
|
||||||
|
|
||||||
lint: ## Lint codebase
|
lint: ## Lint codebase
|
||||||
cargo fmt -v --all -- --emit files
|
cargo fmt -v --all -- --emit files
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
INSERT OR IGNORE INTO starchart_forge_type (name) VALUES('forgeflux');
|
Loading…
Add table
Reference in a new issue