Skip to content

Commit

Permalink
Update production branch CI/CD build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tewtal committed Sep 18, 2020
1 parent 74f304b commit 55ad243
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/production.yml
@@ -1,4 +1,4 @@
name: Create and publish docker image (production)
name: Build and deploy image

on:
push:
Expand All @@ -7,15 +7,26 @@ on:

jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master

- name: Build and push webrandomizer Docker image
uses: docker/build-push-action@v1.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tewtal/webrandomizer
tags: live

- name: Build and push webrandomizer-service Docker image
uses: docker/build-push-action@v1.1.0
with:
name: tewtal/webrandomizer:live
dockerfile: WebGameService/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tewtal/webrandomizer-service
tags: live

0 comments on commit 55ad243

Please sign in to comment.