Skip to content

Commit dfb2802

Browse files
committed
add action
1 parent 2f2e9ee commit dfb2802

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pipe_teste.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: docker-ci
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
env:
10+
IMAGE_NAME: getting-started
11+
12+
jobs:
13+
build-and-scan:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Log in to Docker Hub
20+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
21+
with:
22+
username: ${{ secrets.DOCKER_USERNAME }}
23+
password: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)