Skip to content

Update GitHub Actions for Android release workflow #23

Update GitHub Actions for Android release workflow

Update GitHub Actions for Android release workflow #23

Workflow file for this run

name: Publish Docker image
on:
push:
branches: ["main"]
tags: ["v*"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push multi-arch image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
thezupzup/nexanote:latest
thezupzup/nexanote:${{ github.sha }}