Bump axios and pm2 (#580) #375
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docker Image | |
on: | |
push: | |
branches: | |
- "master" | |
- "develop" | |
- "v2" | |
- "v2-proxy" | |
- "railway" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copy Repo Files | |
uses: actions/checkout@master | |
- name: Publish Docker Image to GPR | |
uses: machine-learning-apps/gpr-docker-publish@master | |
id: docker | |
with: | |
IMAGE_NAME: "rki-server" | |
DOCKERFILE_PATH: "./docker/Dockerfile" | |
BUILD_CONTEXT: "./" | |
branch_tag: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# This second step is illustrative and shows how to reference the | |
# output variables. This is completely optional. | |
- name: Show outputs of previous step | |
run: | | |
echo "The name:tag of the Docker Image is: $VAR1" | |
echo "The docker image is hosted at $VAR2" | |
env: | |
VAR1: ${{ steps.docker.outputs.IMAGE_SHA_NAME }} | |
VAR2: ${{ steps.docker.outputs.IMAGE_URL }} | |
- name: Publish to Docker Hub | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: marlon360/rki-covid-server | |
dockerfile: "./docker/Dockerfile" | |
context: "./" | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} |