Skip to content

Commit

Permalink
Create docker-build-and-push-latest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed May 7, 2021
1 parent 9dc0cd0 commit 06b9bf6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docker-build-and-push-latest.yml
@@ -0,0 +1,30 @@
name: docker-build-and-push-latest

on:
push:
branches:
- 'master'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
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.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: citygml4j/citygml-tools:latest
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 06b9bf6

Please sign in to comment.