Skip to content

Commit d964e1d

Browse files
committed
Fix formatting of docker workflow
1 parent 8f183e6 commit d964e1d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,43 @@
11
name: Publish Docker Image
2-
32
on:
43
push:
54
branches:
65
- 'develop'
76
tags:
87
- 'v*'
9-
108
jobs:
119
push_to_registry:
1210
name: Push Image to GitHub Packages
1311
runs-on: ubuntu-latest
14-
1512
# Always run against a tag, even if the commit into the tag has [docker skip]
1613
# within the commit message.
1714
if: "!contains(github.ref, 'develop') || (!contains(github.event.head_commit.message, 'skip docker') && !contains(github.event.head_commit.message, 'docker skip'))"
18-
1915
steps:
2016
- uses: actions/checkout@v2
21-
2217
- uses: crazy-max/ghaction-docker-meta@v1
2318
id: docker_meta
2419
with:
2520
images: ghcr.io/pterodactyl/panel
26-
2721
- uses: docker/setup-qemu-action@v1
28-
2922
- uses: docker/setup-buildx-action@v1
30-
3123
- uses: docker/login-action@v1
3224
with:
3325
registry: ghcr.io
3426
username: ${{ github.repository_owner }}
3527
password: ${{ secrets.REGISTRY_TOKEN }}
36-
3728
- name: Bump Version
3829
if: "!contains(github.ref, 'develop')"
3930
env:
4031
REF: ${{ github.ref }}
4132
run: |
4233
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php
43-
4434
- name: Release Production Build
4535
uses: docker/build-push-action@v2
4636
if: "!contains(github.ref, 'develop')"
4737
with:
4838
push: true
4939
tags: ${{ steps.docker_meta.outputs.tags }}
5040
labels: ${{ steps.docker_meta.outputs.labels }}
51-
5241
- name: Release Development Build
5342
uses: docker/build-push-action@v2
5443
if: "contains(github.ref, 'develop')"

0 commit comments

Comments
 (0)