This commit is contained in:
Marcel Pociot
2020-07-28 22:23:31 +02:00
parent 1d5169af07
commit 3d76b49fea
2 changed files with 7 additions and 8 deletions

View File

@@ -4,16 +4,15 @@ on:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: beyondcode/expose/expose-server
tag_with_ref: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: beyondcodegmbh/expose-server
tag_with_ref: true

View File

@@ -1,7 +1,7 @@
version: "3.7"
services:
expose:
image: docker.pkg.github.com/beyondcode/expose/expose-server:latest
image: beyondcodegmbh/expose-server:latest
ports:
- 127.0.0.1:8080:${PORT}
environment: