Skip to content

Commit

Permalink
Re-publish under Bitpoke account
Browse files Browse the repository at this point in the history
  • Loading branch information
calind committed Jan 13, 2025
1 parent a60eace commit a20e22e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 35 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM buildpack-deps:stretch

LABEL "repository"="https://github.com/presslabs/stack-deploy-github-action"
LABEL "maintainer"="Presslabs <[email protected]>"
LABEL "repository"="https://github.com/bitpoke/stack-deploy-github-action"
LABEL "maintainer"="Bitpoke <[email protected]>"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down
47 changes: 24 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# stack-deploy-github-action

Github action used to deploy a WordPress site to Stack.

# Usage
Expand All @@ -11,29 +12,29 @@ name: deploy
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
id: build
with:
name: gcr.io/test-stack/foxes
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: gcr.io
- name: Deploy on Stack
uses: presslabs/stack-deploy-github-action
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
with:
namespace: proj-rl3e02
wordpress: myawesomesite-2e304
image: gcr.io/test-stack/foxes:${{ steps.build.outputs.tag }}
google_project: vlads-ureactor
google_zone: europe-west2
google_cluster: stack
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
id: build
with:
name: gcr.io/test-stack/foxes
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: gcr.io
- name: Deploy on Stack
uses: bitpoke/stack-deploy-github-action
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
with:
namespace: proj-rl3e02
wordpress: myawesomesite-2e304
image: gcr.io/test-stack/foxes:${{ steps.build.outputs.tag }}
google_project: vlads-ureactor
google_zone: europe-west2
google_cluster: stack
```
## Arguments
Expand Down
20 changes: 10 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: 'Deploy WordPress on Stack'
description: 'Use github actions to deploy a new WordPress image on a Stack cluster.'
name: "Deploy WordPress on Stack"
description: "Use github actions to deploy a new WordPress image on a Stack cluster."
inputs:
image:
description: 'Docker image to replace with'
description: "Docker image to replace with"
required: true
wordpress:
description: 'WordPress resource name to update'
description: "WordPress resource name to update"
required: true
namespace:
description: 'Namespace in which to apply the changes'
description: "Namespace in which to apply the changes"
required: true
google_project:
description: 'Google project where the k8s cluster is'
description: "Google project where the k8s cluster is"
required: true
google_zone:
description: 'Google zone where the k8s cluster is'
description: "Google zone where the k8s cluster is"
required: true
google_cluster:
description: 'Kubernetes cluster name'
description: "Kubernetes cluster name"
required: true
runs:
using: 'docker'
image: 'docker://quay.io/presslabs/stack-deployer'
using: "docker"
image: "docker://docker.io/bitpoke/stack-deployer-github-action"

0 comments on commit a20e22e

Please sign in to comment.