Skip to content

ci: drop armv7 support and update flag for taskwarrior v3 #66

ci: drop armv7 support and update flag for taskwarrior v3

ci: drop armv7 support and update flag for taskwarrior v3 #66

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
push: true
tags: dcsunset/taskwarrior-webui:3,dcsunset/taskwarrior-webui:${{ steps.date.outputs.date }}