Skip to content

Commit

Permalink
use GitHub Actions to build and push the Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Aug 10, 2020
1 parent e033683 commit 933bd53
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 79 deletions.
79 changes: 0 additions & 79 deletions .circleci/config.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build Docker images
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
endpoint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build endpoint
uses: docker/build-push-action@v1
with:
push: ${{ github.event == 'push' }}
path: endpoint/
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: martenseemann/quic-network-simulator-endpoint
tags: latest
tag_with_ref: true
add_git_labels: true
simulator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build simulator
uses: docker/build-push-action@v1
with:
push: ${{ github.event == 'push' }}
path: sim/
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: martenseemann/quic-network-simulator
tags: latest
tag_with_ref: true
add_git_labels: true

0 comments on commit 933bd53

Please sign in to comment.