Skip to content

Commit

Permalink
feat: update yolk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed May 13, 2024
1 parent 2be7388 commit fa73ce7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/yolk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ "3.12" ]
tag: [ "3.12" ]

runs-on: ubuntu-latest
permissions:
Expand All @@ -25,8 +25,6 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -44,14 +42,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/endstonemc/pterodactyl-yolks
tags: type=raw,value=python-${{ matrix.python }}
tags: type=raw,value=python-${{ matrix.tag }}

- name: Build and Push
id: build-and-push
uses: docker/build-push-action@v5
with:
context: yolks/python
file: yolks/python/${{ matrix.python }}/Dockerfile
file: yolks/python/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit fa73ce7

Please sign in to comment.