mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-07-20 17:53:01 +08:00
Revert "update workflow"
This reverts commit a32f75688ae1505f514116a0651edd8b430e2825.
This commit is contained in:
parent
615a7a33ed
commit
f9067454b8
21
.github/workflows/main.yml
vendored
21
.github/workflows/main.yml
vendored
@ -72,8 +72,8 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- file: ./docker/Dockerfile_with_frontend
|
- file: ./docker/Dockerfile_with_frontend
|
||||||
tags: felinae98/nonebot-bison:main
|
tags: felinae98/nonebot-bison:main
|
||||||
# - file: ./docker/Dockerfile_with_frontend_sentry
|
- file: ./docker/Dockerfile_with_frontend_sentry
|
||||||
# tags: felinae98/nonebot-bison:main-sentry
|
tags: felinae98/nonebot-bison:main-sentry
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -90,20 +90,19 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
# - name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
# if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
# uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
# with:
|
with:
|
||||||
# username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
# password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
#
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ${{ matrix.file }}
|
file: ${{ matrix.file }}
|
||||||
# push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
push: false
|
|
||||||
tags: ${{ matrix.tags }}
|
tags: ${{ matrix.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
Loading…
x
Reference in New Issue
Block a user