Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…bot-kotlin into main
  • Loading branch information
LivingWithHippos committed Jan 26, 2021
2 parents 9bd0c1f + c9272ab commit 588b42c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Docker image

on:
release:
types: [published]

jobs:
main:
runs-on: ubuntu-latest
steps:
# in the future we'll add an arm image for the raspberry
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: livingwithhippos/unchainedbotkotlin:latest
build-args: |
arg1=value1
arg2=value2
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 588b42c

Please sign in to comment.