Update docker.yml

This commit is contained in:
Dane Everitt 2020-11-14 20:27:11 -08:00
parent 509c4e577b
commit 043dc20427
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -25,12 +25,12 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
if: "!contains(github.ref, 'develop')" if: "!contains(github.ref, 'develop')"
env: env:
GITHUB_REF: ${{ github.ref }} REF: ${{ github.ref }}
with: with:
push: true push: true
tags: | tags: |
ghcr.io/pterodactyl/panel:latest ghcr.io/pterodactyl/panel:latest
ghcr.io/pterodactyl/panel:${GITHUB_REF} ghcr.io/pterodactyl/panel:${REF:11}
- name: Release Development Build - name: Release Development Build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
if: "contains(github.ref, 'develop')" if: "contains(github.ref, 'develop')"