Skip to content

Commit

Permalink
Publish next docker images
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Haals <johan.haals@gmail.com>
  • Loading branch information
jhaals committed Feb 4, 2022
1 parent 0e78424 commit d82d0ed
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/docker-next.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Next Docker image

# yamllint disable-line rule:truthy
on:
push:
branches:
- master
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: jhaals/yopass
flavor: |
prefix=next
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: next/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 1 addition & 0 deletions next/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Yopass

Next iteration Yopass with a rewritten backend in Typescript.
This version currently in active development.

0 comments on commit d82d0ed

Please sign in to comment.