Skip to content

Commit

Permalink
Wip.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndesi committed May 12, 2024
1 parent 9deb677 commit e8200c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,20 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create Docker builder
run: |
docker buildx create \
--name container \
--driver=docker-container \
container
- name: Build Docker image - AMD dev
run: |
docker buildx build \
--target development \
--no-cache \
--sbom=true \
--provenance=true \
--builder=container \
-t api:dev-amd \
-f ./docker/Dockerfile \
.
Expand All @@ -55,6 +62,7 @@ jobs:
--build-arg="VERSION=$( cat composer.json | jq -r .version )" \
--sbom=true \
--provenance=true \
--builder=container \
-t api:prod-amd \
-f ./docker/Dockerfile \
.
Expand Down

0 comments on commit e8200c2

Please sign in to comment.