Skip to content

Commit

Permalink
Create docker-image.yml (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
ober authored Sep 18, 2023
1 parent 4eecb14 commit 0e52e78
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker Image CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker-image: ['gerbil', 'gerbilxx']
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: make -C docker ${{ matrix.docker-image }}
- name: docker push to dockerhub
run: |
docker login -u gerbil -p ${{ secrets.DOCKER_TOKEN }}
docker push gerbil/${{ matrix.docker-image }}:$(uname -m)

0 comments on commit 0e52e78

Please sign in to comment.