Skip to content

fix(frontend): update url-regex-safe #64

fix(frontend): update url-regex-safe

fix(frontend): update url-regex-safe #64

name: Build and Publish Docker Image
on:
push:
branches:
- master
workflow_dispatch:
jobs:
push_to_registry:
name: Build and Publish Docker Image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
# Support multiple platforms
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d')"
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: dcsunset/taskwarrior-webui:latest,dcsunset/taskwarrior-webui:${{ steps.date.outputs.date }}