diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index aa1c4c4..158243f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 527507d..ee8d126 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: