Skip to content

Commit

Permalink
Testing Github Actions on Dev Build
Browse files Browse the repository at this point in the history
  • Loading branch information
BippyMiester committed Mar 30, 2024
1 parent 84fa61e commit 6d76ec3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dev-branchs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Dev Branches

on:
workflow_dispatch:
push:
branches-ignore:
- main
paths:
- 'games/**'

jobs:
push:
name: name: "games:${{ github.event.ref_slug }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: ./games/${{ github.event.ref }}
file: ./games/${{ github.event.ref }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/sturdystubs/games:${{ github.event.ref }}

0 comments on commit 6d76ec3

Please sign in to comment.