Skip to content

Commit

Permalink
Merge pull request #1 from bottledcode/my-main
Browse files Browse the repository at this point in the history
My main
  • Loading branch information
withinboredom authored Nov 3, 2022
2 parents 3641552 + 027899a commit ffccce9
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
- v*
jobs:
docker-tests:
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
matrix:
dockerfile: [ "Dockerfile", "Dockerfile.alpine" ]
dockerfile: [ "Dockerfile" ]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -41,15 +41,10 @@ jobs:
docker load -i /tmp/.builder.tar
docker run --rm frankenphp:${{ github.sha }}-builder "go test -race -v"
push-image:
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
matrix:
dockerfile: [ "Dockerfile", "Dockerfile.alpine" ]
include:
- dockerfile: Dockerfile
flavor: ""
- dockerfile: Dockerfile.alpine
flavor: "-alpine"
dockerfile: [ "Dockerfile" ]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -58,7 +53,7 @@ jobs:
- name: Docker Login
uses: docker/login-action@v2
with:
#registry: ${{secrets.REGISTRY_LOGIN_SERVER}}
registry: ${{secrets.REGISTRY_LOGIN_SERVER}}
username: ${{secrets.REGISTRY_USERNAME}}
password: ${{secrets.REGISTRY_PASSWORD}}

Expand Down Expand Up @@ -98,7 +93,7 @@ jobs:
push: true
pull: true
target: final
platforms: linux/amd64,linux/arm64
#platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
Expand Down

0 comments on commit ffccce9

Please sign in to comment.