Reverting changes from c593334

Changing to back to how it was before c593334
This commit is contained in:
Chris
2022-05-16 11:36:07 -04:00
committed by ajnart
parent 53ab06f97e
commit bd6edbbec6

View File

@@ -7,11 +7,11 @@ on:
push: push:
branches: [dev] branches: [dev]
paths-ignore: paths-ignore:
# temp - '.github/**' - '.github/**'
- '**.md' - '**.md'
pull_request: pull_request:
paths-ignore: paths-ignore:
# temp remove to test workflow - '.github/**' - '.github/**'
- '**.md' - '**.md'
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@@ -118,14 +118,8 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Check perms
uses: actions-cool/check-user-permission@main
id: checkUser
with:
require: 'write'
- name: Login to GHCR - name: Login to GHCR
if: steps.checkUser.outputs.require-result == 'true' if: github.event_name != 'pull_request'
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
@@ -137,6 +131,6 @@ jobs:
with: with:
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7
context: . context: .
push: ${{ steps.checkUser.outputs.require-result == 'true' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}