Skip to content

Commit

Permalink
Reverted workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
parker1992 committed Sep 7, 2022
1 parent 3baf501 commit e75f6f7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@
name: Publish Docker image

on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
release:
types: [published]

jobs:
push_to_registry:
Expand All @@ -32,7 +28,6 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Log in to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2.0.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -48,7 +43,7 @@ jobs:
uses: docker/build-push-action@v3.1.1
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit e75f6f7

Please sign in to comment.