Skip to content

Add source code label to Dockerfile to link to ghcr #5

Add source code label to Dockerfile to link to ghcr

Add source code label to Dockerfile to link to ghcr #5

Workflow file for this run

name: Build OCI image
on: push
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
with:
images: |
${{ github.repository_owner }}/${{ github.repository }}
ghcr.io/${{ github.repository }}
- uses: docker/bake-action@v5
with:
files: |
./docker-bake.hcl
${{ steps.meta.outputs.bake-file }}
push: true