Skip to content

Commit

Permalink
Merge pull request #18 from runpod-workers/merge-ready
Browse files Browse the repository at this point in the history
10x Faster New Worker
  • Loading branch information
justinmerrell authored Dec 14, 2023
2 parents 24feadd + d39844a commit f8484ec
Show file tree
Hide file tree
Showing 18 changed files with 407 additions and 984 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/CD-docker_dev.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/CD-docker_release.yml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/CI-test_worker.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CD | Docker-Build-Release

on:
push:
branches:
- "main"
release:
types: [published]
workflow_dispatch:
inputs:
image_tag:
description: "Docker Image Tag"
required: false
default: "dev"

jobs:
docker-build:
runs-on: DO
# DO is a custom runner deployed on DigitalOcean, only available for workflows under the runpod-workers organization.
# If you would like to use this workflow, you can replace DO with ubuntu-latest or any other runner.

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# Build and push step
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ vars.DOCKERHUB_REPO }}/${{ vars.DOCKERHUB_IMG }}:${{ (github.event_name == 'release' && github.event.release.tag_name) || (github.event_name == 'workflow_dispatch' && github.event.inputs.image_tag) || 'dev' }}
160 changes: 0 additions & 160 deletions .gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

Loading

0 comments on commit f8484ec

Please sign in to comment.