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 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