Skip to content

Create Coolify.md (#17) #27

Create Coolify.md (#17)

Create Coolify.md (#17) #27

Workflow file for this run

name: Build and push docker image
on:
workflow_dispatch:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set tags
run: |
# Export a env variable with the tag name
echo "TAG=$(date +%s)" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64
push: true
tags: |
fronix/fronix-se:latest
fronix/fronix-se:${{ env.TAG }}