From 505f15b4befae568f5632620e2a12f2065663993 Mon Sep 17 00:00:00 2001 From: Joseph Allen Date: Sun, 23 Apr 2023 08:22:00 +0100 Subject: [PATCH 1/2] Use prebuilt image --- docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b3e9646..ee8a010 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,10 +2,7 @@ version: "3" services: fspd: - build: - context: ./ - dockerfile: Dockerfile - image: sephallen/fspd + image: ghcr.io/sephallen/fsp-server-docker:latest container_name: fspd restart: unless-stopped tty: true From fc8d51490c76c70504842a99fd532c20125fe959 Mon Sep 17 00:00:00 2001 From: Joseph Allen Date: Sun, 23 Apr 2023 08:38:03 +0100 Subject: [PATCH 2/2] Tag prebuilt images --- .github/workflows/{docker.yml => docker-publish.yml} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename .github/workflows/{docker.yml => docker-publish.yml} (95%) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker-publish.yml similarity index 95% rename from .github/workflows/docker.yml rename to .github/workflows/docker-publish.yml index a247514..c1d88f8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker-publish.yml @@ -40,9 +40,7 @@ jobs: uses: docker/metadata-action@v4 with: images: ghcr.io/${{ github.repository }} - tags: | - sha_${{ github.sha }} - latest + tags: ${{ steps.meta.outputs.tags }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build