-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from OpenFn/bun-server
New Server
- Loading branch information
Showing
353 changed files
with
3,640 additions
and
1,714 deletions.
There are no files selected for viewing
File renamed without changes.
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
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 }} |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.