Skip to content

Commit

Permalink
Criação da Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricioveronez authored Feb 2, 2024
1 parent f3a33ee commit f2803cc
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
workflow_dispatch:
push:
branches: [ "main" ]

jobs:
CI:
runs-on: ubuntu-latest

steps:
- name: Obtendo o código
uses: actions/checkout@v3
- name: Docker Login
uses: docker/login-action@v3.0.0
with:
username: ${{secrets.DOCKERHUB_USER}}
password: ${{secrets.DOCKERHUB_PWD}}
- name: Construção da imagem Docker worker
uses: docker/build-push-action@v5.0.0
with:
context: ./src
file: ./src/Dockerfile
push: true
tags: |
fabricioveronez/simulador-do-caos:v1
fabricioveronez/simulador-do-caos:latest
kubedevio/simulador-do-caos:v1
kubedevio/simulador-do-caos:latest

0 comments on commit f2803cc

Please sign in to comment.