Skip to content

Commit

Permalink
applaying gh issue suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
zLukas authored Nov 21, 2024
1 parent 3eb8279 commit 2be8012
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_tiber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,17 @@ jobs:
- name: "Preparation: Repository Checkout"
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: "Configuration: Docker with Buildx Toolkit set up"
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
with:
buildkitd-flags: --debug

- name: "Validation: Build/Push Dokcerfile"
run: |
docker build $(cat versions.env | xargs -I {} echo --build-arg {}) \
--tag ${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG }} \
--target final-stage \
-f Dockerfile .
- name: "remove unnecessary files"
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: "Validation: Run Trivy vulnerability scanner on image"
uses: aquasecurity/trivy-action@595be6a0f6560a0a8fc419ddf630567fc623531d # v0.22.0
Expand Down

0 comments on commit 2be8012

Please sign in to comment.