aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-03-16 15:51:54 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-03-16 15:51:54 -0700
commit37293cb26a8239d4f387218a1fdadc522787835f (patch)
treea869bce07536e383572bbab6f94bb5b03dcdd5af
parent57255ad565f4609e4613f03dca98968bcb441f9c (diff)
downloadbun-37293cb26a8239d4f387218a1fdadc522787835f.tar.gz
bun-37293cb26a8239d4f387218a1fdadc522787835f.tar.zst
bun-37293cb26a8239d4f387218a1fdadc522787835f.zip
Remove old Docker workflow
-rw-r--r--.github/workflows/bun-dockerhub.yml47
1 files changed, 0 insertions, 47 deletions
diff --git a/.github/workflows/bun-dockerhub.yml b/.github/workflows/bun-dockerhub.yml
deleted file mode 100644
index 943281a86..000000000
--- a/.github/workflows/bun-dockerhub.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: bun-dockerhub
-on:
- push:
- paths:
- - dockerhub/Dockerfile
- branches:
- - main
- pull_request:
- paths:
- - dockerhub/Dockerfile
- branches:
- - main
- release:
- types:
- - published
-jobs:
- docker:
- runs-on: ubuntu-latest
- if: github.repository_owner == 'oven-sh'
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
- - name: Collect metadata
- id: meta
- uses: docker/metadata-action@v4
- with:
- images: |
- ${{ secrets.DOCKERHUB_USERNAME }}/bun
- tags: |
- type=match,pattern=bun-v(\d.\d.\d),group=1
- type=match,pattern=bun-v(\d.\d),group=1
- type=match,pattern=bun-v(\d),group=1
- type=ref,event=branch
- type=ref,event=pr
- - name: Login to DockerHub
- if: github.event_name == 'release'
- uses: docker/login-action@v2
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build image
- uses: docker/build-push-action@v3
- with:
- context: ./dockerhub
- push: ${{ github.event_name == 'release' }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}