[Snyk] Security upgrade ruby from 3.0 to 3.3.5 #234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: The Coffee Bar - python applications builder | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
BuildAndPushTheCoffeeBarPythonApps: | |
runs-on: ubuntu-latest | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Verify changes in python-the-coffee-bar-apps directory | |
uses: tj-actions/changed-files@v44 | |
id: verify-if-files-changed | |
with: | |
files: applications/python-the-coffee-bar-apps | |
- name: Login to ECR Repository | |
run: make login | |
- name: Build if changes observed | |
if: steps.verify-if-files-changed.outputs.any_changed == 'true' | |
run: make build-python-apps | |
- name: Push if changes observed | |
if: steps.verify-if-files-changed.outputs.any_changed == 'true' | |
run: make push-python-apps |