docs(identite): 📝 add package README and LICENSE (#1468) #3094
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🐋 Docker | |
on: | |
push: | |
jobs: | |
build: | |
name: 🥧 Bake Image | |
if: github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Github Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ github.token }} | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ghcr.io/${{ github.repository }} | |
tags: | | |
type=sha,format=long,prefix= | |
type=ref,event=branch | |
type=ref,event=tag | |
flavor: | | |
latest=${{ github.ref == 'refs/heads/main' }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Build | |
uses: docker/bake-action@master | |
with: | |
files: | | |
./docker-bake.hcl | |
cwd://${{ steps.meta.outputs.bake-file }} | |
push: true | |
set: | | |
*.cache-from=type=gha | |
*.cache-to=type=gha,mode=max | |
env: | |
SOURCE_COMMIT: ${{ github.sha }} | |
integration_test: | |
name: 🚥 Integration test | |
needs: | |
- Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
- run: docker pull ghcr.io/${{ github.repository }}:${{ github.sha }} | |
- name: 🚥 Run Container Tests | |
uses: docker://gcr.io/gcp-runtimes/container-structure-test:v1.15.0 | |
with: | |
args: test --config container-structure-test.yml --image ghcr.io/${{ github.repository }}:${{ github.sha }} --verbosity debug |