aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}