Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a022faf96 | ||
|
|
9ced8d11c6 | ||
|
|
c2456a7ac0 | ||
|
|
c68be2a9f5 |
@@ -24,7 +24,7 @@ jobs:
|
||||
with:
|
||||
registry: git.danielvici.com
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Extract Docker tags
|
||||
id: meta
|
||||
@@ -49,6 +49,4 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
@@ -24,6 +24,8 @@ RUN touch src/main.rs && cargo build --release
|
||||
# Final stage
|
||||
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
|
||||
ENV DOCKER_CONTAINER=true
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
dhl:
|
||||
build: .
|
||||
image: dhl:latest
|
||||
image: docker pull git.danielvici.com/danielvici123/dhl:latest
|
||||
container_name: dhl
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
Reference in New Issue
Block a user