chore(CI): Switching to GHCR

This commit is contained in:
Timothy Stewart 2021-08-09 22:32:03 -05:00
parent dc90d38ff0
commit f04f2f8233

View File

@ -27,13 +27,27 @@ jobs:
needs: [js-install-and-test]
runs-on: ubuntu-latest
steps:
- name: "Build:checkout"
-
name: Checkout
uses: actions/checkout@v2
- name: 'Build:dockerimage'
uses: docker/build-push-action@v1
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PAT }}
repository: techno-tim/littlelink-server
tags: latest
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/386
push: true
tags: techno-tim/littlelink-server:latest