Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 0 additions & 109 deletions .github/workflows/build-app-beta.yaml

This file was deleted.

169 changes: 0 additions & 169 deletions .github/workflows/build-app.yaml

This file was deleted.

18 changes: 7 additions & 11 deletions .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: Docker image

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-docker.[0-9]+'
on: [ push, pull_request ]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -30,7 +24,7 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
dbgate/dbgate
casbin/dbgate
flavor: |
latest=false
tags: |
Expand All @@ -44,7 +38,7 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
dbgate/dbgate
casbin/dbgate
flavor: |
latest=false
tags: |
Expand Down Expand Up @@ -74,10 +68,11 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push
if: github.repository == 'casvisor/dbgate' && github.event_name == 'push'
uses: docker/build-push-action@v3
with:
push: true
Expand All @@ -86,6 +81,7 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7

- name: Build and push alpine
if: github.repository == 'casvisor/dbgate' && github.event_name == 'push'
uses: docker/build-push-action@v3
with:
push: true
Expand Down
Loading