Skip to content

Commit

Permalink
ci: 推送 main 时构建 debug 镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoaer committed Dec 1, 2023
1 parent 012b3f9 commit d21f14d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker-image-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docker Image CI (DEBUG)

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push images
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/bili-sync:debug

0 comments on commit d21f14d

Please sign in to comment.