Skip to content

Commit

Permalink
Add automated docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Oct 27, 2020
1 parent 3170fdb commit 5a49e4b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and push Docker images
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags')
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: faforever/faf-league-service
tag_with_ref: true

0 comments on commit 5a49e4b

Please sign in to comment.