mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
18 lines
508 B
YAML
18 lines
508 B
YAML
name: Publish Docker image
|
|
on:
|
|
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: Push to Docker Hub
|
|
uses: docker/build-push-action@v1
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
repository: beyondcodegmbh/expose-server
|
|
tag_with_ref: true |