Skip to content

Commit

Permalink
Merge pull request #44 from OpenFn/bun-server
Browse files Browse the repository at this point in the history
New Server
  • Loading branch information
josephjclark authored May 10, 2024
2 parents 4fb79d9 + ac3e9f8 commit 2cbb112
Show file tree
Hide file tree
Showing 353 changed files with 3,640 additions and 1,714 deletions.
File renamed without changes.
44 changes: 44 additions & 0 deletions .github/workflows/dockerize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build and push Docker images

on:
push:
branches: main

jobs:
build-and-push-worker-image:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Manipulate tag for docker
id: branch_name
run: |
SOURCE_TAG=${GITHUB_REF#refs/tags/}
echo Source Tag: $SOURCE_TAG
VERSION_TAG=${SOURCE_TAG#@openfn/apollo}
echo Version Tag: $VERSION_TAG
DOCKER_TAG=${VERSION_TAG#@}
echo Docker Tag: $DOCKER_TAG
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
target: apollo
tags: |
openfn/apollo:latest
openfn/apollo:v${{ env.DOCKER_TAG }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
.vscode/

# Poetry specific files and directories
poetry.lock
.poetry/
__pypackages__/
.venv

# node.js stuff
node_modules/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
27 changes: 0 additions & 27 deletions .pre-commit-config.yaml

This file was deleted.

303 changes: 0 additions & 303 deletions CHANGES.md

This file was deleted.

Loading

0 comments on commit 2cbb112

Please sign in to comment.