Skip to content

Commit

Permalink
feat: commit 01 of lesson 05 of the "Integração Contínua: Pipeline Do…
Browse files Browse the repository at this point in the history
…cker no Github Actions" course
  • Loading branch information
AdautoDCJunior committed Jan 23, 2024
1 parent 5c5fa84 commit 1f1792b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,22 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up docker
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.0.0

- name: Docker login
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: adautodcjunior/go_ci:${{ github.ref_name }}

0 comments on commit 1f1792b

Please sign in to comment.