From dc90d38ff04a9bd26ad5161c05b7174edc498569 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Mon, 9 Aug 2021 22:24:44 -0500 Subject: [PATCH] chore(CI): Switching to GHCR --- .github/workflows/main.yml | 34 ++++++++-------------------------- README.md | 7 ++----- 2 files changed, 10 insertions(+), 31 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5550600..09f8796 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,31 +27,13 @@ jobs: needs: [js-install-and-test] runs-on: ubuntu-latest steps: - - - name: Checkout + - name: "Build:checkout" uses: actions/checkout@v2 - - - name: Show structure - run: | - ls -R - - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 + - name: 'Build:dockerimage' + uses: docker/build-push-action@v1 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64,linux/arm64,linux/386 - push: true - tags: timothystewart6/littlelink-server:latest \ No newline at end of file + registry: ghcr.io + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PAT }} + repository: techno-tim/littlelink-server + tags: latest \ No newline at end of file diff --git a/README.md b/README.md index 7e6f6c6..f9aa8ad 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ # 🔗 LittleLink-Server -[![Docker Build Status](https://img.shields.io/docker/pulls/timothystewart6/littlelink-server.svg)](https://hub.docker.com/r/timothystewart6/littlelink-server/) - This project is based on the great work from [littlelink](https://github.com/sethcottle/littlelink) -It takes the same simple approach to a link page and hosts it within a nodeJS server containerized for you to use. Now, customizing `littlelink` with `littlelink-server` is as easy as passing in some environment variables. +It takes the same simple approach to a link page and hosts it within a nodeJS server containerized for you to use. Now, customizing `LittleLink` with `littlelink-server` is as easy as passing in some environment variables. - -# 👇 What is `littlelink`? +# 👇 What is `LittleLink`? ![LittleLink](https://cdn.cottle.cloud/littlelink/social-circle.png)