Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
WSL0809 committed Mar 28, 2024
1 parent fcb3637 commit b51c2f4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 41 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Build and Push Docker Image

on:
push:
branches:
- master

jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag wangsl0809/yuezi_server:${{ github.sha }}
- name: Login to DockerHub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Push the Docker image to DockerHub
run: docker push wangsl0809/yuezi_server:${{ github.sha }}
#name: Build and Push Docker Image
#
#on:
# push:
# branches:
# - master
#
#jobs:
# build_and_push:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Build the Docker image
# run: docker build . --file Dockerfile --tag wangsl0809/yuezi_server:${{ github.sha }}
# - name: Login to DockerHub
# run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
# - name: Push the Docker image to DockerHub
# run: docker push wangsl0809/yuezi_server:${{ github.sha }}
23 changes: 0 additions & 23 deletions test.py

This file was deleted.

Empty file added tests/test_get_all_rooms.py
Empty file.

0 comments on commit b51c2f4

Please sign in to comment.