Docker-PHP/.github/workflows/redis.yml
Matthew Baggett 1b657b62e8
Feature/self host (#6)
* Self hosting test

* all branches?

* remove branches statements

* Revert "remove branches statements"

This reverts commit cb45bb82

* Branches R hard

* bump

* bump2

* remove caching from self-host branch

* bump3

* Missed out moving things

* Self signed certs don't need to be freshly baked. This might be faster.
2021-05-30 20:08:16 +02:00

35 lines
831 B
YAML

name: Build Redis
on:
push:
paths:
- redis
workflow_run:
workflows:
- Lint Docker Files
branches: [ 'master', 'feature/**' ]
types:
- completed
jobs:
redis-build:
name: "Redis with Healthchecks"
runs-on: self-hosted
steps:
- uses: actions/checkout@v1
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
name: Login to Docker Hub
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- uses: docker/build-push-action@v2
name: Build & Push
with:
context: redis
platforms: linux/amd64,linux/arm64
pull: true
push: true
tags: |
benzine/redis