Skip to content

Commit

Permalink
ci: fix CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopacheco1 committed Feb 14, 2024
1 parent 2ea5095 commit 5e904c9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
!target/*-runner
!target/*-runner.jar
!target/lib/*
!target/quarkus-app/*
!target/quarkus-app/*
__pycache__/
venv/
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
branches: [main]
types:
- completed
workflow_dispatch:


env:
Expand Down Expand Up @@ -59,9 +60,17 @@ jobs:
with:
images: ${{ env.IMAGE_NAME }}

- name: Echo current directory
run: echo $PWD

- name: List directory
run: ls -la

- name: Build Docker image for scanning
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ nb-configuration.xml

# Plugin directory
/.quarkus/cli/plugins/
__pycache__/
venv/

0 comments on commit 5e904c9

Please sign in to comment.