Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/ci-pipeline__main.yml
  • Loading branch information
DinisCruz committed Oct 1, 2024
2 parents 741e0f8 + b491e4c commit 09b3087
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci-pipeline__main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ on:

env:
RELEASE_TYPE: 'major'
DOCKER__CONTEXT : "."
DOCKER__FILE : './deploy/docker/osbot-serverless-flows/Dockerfile'
DOCKER_HUB__USERNAME : diniscruz
DOCKER_HUB__TOKEN : ${{ secrets.DOCKER_HUB__TOKEN }}

jobs:

run-unit-tests:
if: False
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -51,3 +56,15 @@ jobs:
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pypi__publish@dev
needs:
- increment-tag

publish-to-docker-hub:
name: "Publish to: Docker Hub"
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Deploy to Docker Hub (current version)
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/docker-hub__publish@dev
# needs:
# - wait-for-pypi-publish
12 changes: 12 additions & 0 deletions deploy/docker/osbot-serverless-flows/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.12-slim

ARG VERSION=latest
#ARG DOCKER_FOLDER=./deploy/docker/osbot-serverless-flows

RUN echo "going to install version ${VERSION} of osbot-serverless-flows"
RUN pip install osbot_serverless_flows==${VERSION}

WORKDIR /app

#CMD ["python", "-m", "cbr_website_beta"]
CMD ["pip", "list"]
10 changes: 10 additions & 0 deletions deploy/docker/osbot-serverless-flows/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
serverless_flows:
build:
context: ../../..
dockerfile: ./deploy/docker/osbot-serverless-flows/Dockerfile
platform: linux/amd64
container_name: osbot-serverless-flows-web
#ports:
# - "3000:3000"
#entrypoint: ['./start.sh']

0 comments on commit 09b3087

Please sign in to comment.