Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ngruelaneo committed May 3, 2024
1 parent fb80aea commit abfbce3
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,39 +87,45 @@ jobs:
ref: ${{ github.ref }}
submodules: true

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: login
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_LOGIN }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY_IMAGE }}

- name: Build and push
uses: docker/build-push-action@v5
with:
file: Worker/src/DLLWorker/Dockerfile
context: .
platforms: ${{ matrix.platform }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
#provenance: mode=max
provenance: true
sbom: true
# context: .
# platforms: ${{ matrix.platform }}
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# push: true
# #provenance: mode=max
# provenance: true
# sbom: true
#outputs: type=image,name=${{ env.REGISTRY_IMAGE }}:${{ needs.versionning.outputs.version }}
#outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
context: .
provenance: mode=max
sbom: true
push: true
tags: ${{ steps.meta.outputs.tags }}


testEndToEnd:
needs:
Expand Down

0 comments on commit abfbce3

Please sign in to comment.