Skip to content

Commit

Permalink
Merge pull request #8 from AdautoDCJunior/lesson-03-ci-pipeline-docke…
Browse files Browse the repository at this point in the history
…r-git-actions

Aula 03 do curso "Integração Contínua: Pipeline Docker no Github Actions"
  • Loading branch information
AdautoDCJunior authored Jan 23, 2024
2 parents 452a848 + 8a5f757 commit b27cbc0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: docker

on:
workflow_call:

jobs:
docker:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up docker
uses: docker/[email protected]
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ jobs:
- uses: actions/checkout@v3

- name: Build
run: go build -v ./main.go
run: go build -v ./main.go

docker:
needs: build
uses: ./.github/workflows/docker.yml

0 comments on commit b27cbc0

Please sign in to comment.