Skip to content

Merge pull request #5 from DevOps-and-Cloud-based-Software/1-reorgani… #28

Merge pull request #5 from DevOps-and-Cloud-based-Software/1-reorgani…

Merge pull request #5 from DevOps-and-Cloud-based-Software/1-reorgani… #28

Workflow file for this run

name: CI/CD Pipeline
on:
release:
types: [ published ]
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
test:
name: Run Tests
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
build:
name: Build Docker Image
runs-on: ubuntu-latest
needs: [lint, test]
if: github.event_name == 'push' || github.event_name == 'release'
permissions:
contents: read
actions: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4