Skip to content

Commit

Permalink
Update publish-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbobaylor committed Apr 30, 2023
1 parent f6fffb2 commit aa6852e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Publish Docker image

on:
push:
branches: master
branches:
- master

jobs:
push_to_registry:
Expand All @@ -11,23 +12,23 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2


- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v4.0.0
with:
context: .
push: true
tags: taylorbobaylor/movie-trailer-downloader:latest
platforms: linux/amd64,linux/arm64
platforms: linux/amd64

0 comments on commit aa6852e

Please sign in to comment.