Compare commits
5 Commits
a4182e9cfe
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a022faf96 | ||
|
|
9ced8d11c6 | ||
|
|
c2456a7ac0 | ||
|
|
c68be2a9f5 | ||
|
|
13afb2292e |
@@ -24,7 +24,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: git.danielvici.com
|
registry: git.danielvici.com
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Extract Docker tags
|
- name: Extract Docker tags
|
||||||
id: meta
|
id: meta
|
||||||
@@ -50,5 +50,3 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "dhl"
|
name = "dhl"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ RUN touch src/main.rs && cargo build --release
|
|||||||
# Final stage
|
# Final stage
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.source="https://git.danielvici.com/danielvici123/dhl"
|
||||||
|
|
||||||
# Set environment variable to signal the app it's running in Docker
|
# Set environment variable to signal the app it's running in Docker
|
||||||
ENV DOCKER_CONTAINER=true
|
ENV DOCKER_CONTAINER=true
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
dhl:
|
dhl:
|
||||||
build: .
|
build: .
|
||||||
image: dhl:latest
|
image: docker pull git.danielvici.com/danielvici123/dhl:latest
|
||||||
container_name: dhl
|
container_name: dhl
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
|||||||
Reference in New Issue
Block a user