Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Sep 19, 2023
1 parent fe83a2b commit 2dc7a03
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 44 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ on:
schedule:
- cron: 0 * * * *
workflow_dispatch: {}
push:
paths:
- .github/workflows/data.yml

jobs:
scheduled:
runs-on: ubuntu-latest
Expand Down
42 changes: 3 additions & 39 deletions .github/workflows/deploy_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,51 +19,15 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
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@v2
uses: docker/build-push-action@v5
with:
file: ./.docker/Dockerfile
push: true
tags: leoafarias/fvm:latest

# deploy-docker-latest:
# name: Docker Deploy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1

# - 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@v1
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Build and push
# id: docker_build
# uses: docker/build-push-action@v2
# with:
# file: ./.docker/Dockerfile
# push: true
# tags: leoafarias/fvm:${{ github.event.release.tag_name }}
# build-args: FVM_VERSION=${{ github.event.release.tag_name }}

# - name: Build and push Alpine image
# id: docker_build_alpine
# uses: docker/build-push-action@v2
# with:
# file: ./.docker/alpine/Dockerfile
# push: true
# tags: leoafarias/fvm-alpine:${{ github.event.release.tag_name }}
# build-args: FVM_VERSION=${{ github.event.release.tag_name }}
tags: leoafarias/fvm:{{ github.event.release.tag_name }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 3.0.0-dev.1
## 3.0.0-alpha.1

- Implemented .gitignore notice to setup `fvm`
- Configure vscode automatically
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fvm
description: A simple cli to manage Flutter SDK versions per project. Support
channels, releases, and local cache for fast switching between versions.
version: 3.0.0-dev.1
version: 3.0.0-alpha.1
homepage: https://github.com/leoafarias/fvm

environment:
Expand Down

0 comments on commit 2dc7a03

Please sign in to comment.