Skip to content

Commit

Permalink
Clean up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Mar 20, 2024
1 parent 5c2b7f6 commit ba481a5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy Docker

on:
workflow_dispatch:

jobs:
deploy-docker:
name: Docker Deploy (latest)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare environment
uses: ./.github/actions/prepare

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

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

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push (latest)
id: docker_build_latest
uses: docker/build-push-action@v5
with:
file: ./.docker/Dockerfile
push: true

3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ jobs:
run: dart run grinder pkg-homebrew-update
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}




deploy-docker:
name: Docker Deploy (latest)
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ docs/.next

# Ignore fvm binary
fvm
.env.local

0 comments on commit ba481a5

Please sign in to comment.