Skip to content

Commit

Permalink
fix: conserta o workflow to test the PR.
Browse files Browse the repository at this point in the history
Atualiza o workflow usado para testar as PR do repositório fazendo o
build do Dockerfile do pipeline

Signed-off-by: José Guilherme Vanz <[email protected]>
  • Loading branch information
jvanz committed Mar 15, 2024
1 parent f9d823a commit dbb3ebf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/test_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ jobs:
name: Build da imagem do container do pipeline
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@master

- name: Build container image
run: |
make build-pipeline-image
- name: Checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push development container image
uses: docker/build-push-action@v2
with:
context: .
file: ./scripts/Dockerfile
platforms: linux/amd64
push: false
tags: |
ghcr.io/querido-diario-pr:latest
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ $(FILES_DIR)/queridodiario_dump.sql:

.PHONY: base-de-dados
base-de-dados: $(FILES_DIR)/queridodiario_dump.zip $(FILES_DIR)/queridodiario_dump.sql

0 comments on commit dbb3ebf

Please sign in to comment.