Skip to content

(Multi Arch) Publish Docker Image to Docker Hub #7

(Multi Arch) Publish Docker Image to Docker Hub

(Multi Arch) Publish Docker Image to Docker Hub #7

name: (ARM64) Publish Docker Image to Docker Hub
on:
workflow_dispatch: # Triggered manually
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
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
with:
platform: linux/arm64/v8
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: akhilrana
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push ARM64 Docker image
run: |
docker build -t akhilrana/telegramarr:latest .
docker push akhilrana/telegramarr:latest
env:
DOCKER_CLI_EXPERIMENTAL: enabled