3 Commits

Author SHA1 Message Date
danielvici123
9ced8d11c6 docker: Add OCI source label to Dockerfile
All checks were successful
Release Docker Image / Push Docker image to Registry (push) Successful in 1m40s
Build and Release / Build All Platforms (push) Successful in 1m57s
2026-06-09 21:23:12 +02:00
danielvici123
c2456a7ac0 Update .gitea/workflows/build-image.yml
All checks were successful
Release Docker Image / Push Docker image to Registry (push) Successful in 1m50s
Build and Release / Build All Platforms (push) Successful in 2m2s
2026-06-09 19:16:41 +00:00
danielvici123
c68be2a9f5 ci: Remove Docker build caching 2026-06-09 21:11:26 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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