Skip to content

Commit

Permalink
feat: adding basic pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobento10 committed May 18, 2024
1 parent 6740502 commit e16d2e3
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI/CD Pipeline

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build Docker images
run: docker-compose -f docker-compose.yml build

- name: Save Docker images
run: |
docker save resource_server > resource_server.tar
docker save authorization_server > authorization_server.tar
docker save client > client.tar
- name: Upload Docker images
uses: actions/upload-artifact@v3
with:
name: resource_server
path: resource_server.tar

- name: Upload Docker images
uses: actions/upload-artifact@v3
with:
name: authorization_server
path: authorization_server.tar

- name: Upload Docker images
uses: actions/upload-artifact@v3
with:
name: client
path: client.tar

0 comments on commit e16d2e3

Please sign in to comment.