Skip to content

Update Dockerfile

Update Dockerfile #3

Workflow file for this run

name: CI-CD
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Obter código
uses: actions/[email protected]
- name: Autenticação Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PWD }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: .
file: ./payroll-api/Dockerfile
push: true
tags: |
1df9840472ec/bootcamp-microsservises${{ github.run_number }}
1df9840472ec/bootcamp-microsservises:latest