Skip to content

Added more images and updated header links #6

Added more images and updated header links

Added more images and updated header links #6

Workflow file for this run

name: docker-push
on:
workflow_dispatch:
push:
branches:
- 'main'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{ defaultContext }}:API"
push: true
tags: monollect/megastore:latest
deploy:
needs: docker
name: Deploy to FlyIO
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}