Skip to content

Commit

Permalink
Update docker-build-and-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil-rana authored Feb 22, 2024
1 parent 6d9cdda commit 3229b42
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: (Multi Arch) Publish Docker Image to Docker Hub

on:
push:
branches:
- docker-hub-deploy
release:
types: [published]

jobs:
build-and-publish:
Expand All @@ -15,8 +14,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/arm64

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand All @@ -26,6 +23,6 @@ jobs:

- name: Build and push Docker image
run: |
docker buildx build --platform linux/arm64,linux/amd64 --push -t akhilrana/telegramarr:multi-arch .
docker buildx build --platform linux/arm64,linux/amd64 --push -t akhilrana/telegramarr:latest -t akhilrana/telegramarr:${{ github.event.release.tag_name }} .
env:
DOCKER_CLI_EXPERIMENTAL: enabled

0 comments on commit 3229b42

Please sign in to comment.