Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thor Christiansen committed Feb 9, 2024
1 parent 303e1df commit 9a018b4
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,4 @@ jobs:
run: dotnet test Danbooru.sln --verbosity detailed
working-directory: Danbooru

deploy:
needs: test
if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./Danbooru # Or './Danbooru' if your Dockerfile is inside the Danbooru directory
file: ./Danbooru/Danbooru.UI/Danbooru.UI/Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/danbooruui:latest
platforms: linux/amd64,linux/arm64

0 comments on commit 9a018b4

Please sign in to comment.