Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ced8d11c6 | ||
|
|
c2456a7ac0 | ||
|
|
c68be2a9f5 |
@@ -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
|
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user