Skip to content

Commit

Permalink
chore: remove unused dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
erikarenhill committed Sep 4, 2024
1 parent 7022858 commit eabfa74
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 81 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- type: hass
dockerfile: Dockerfile
image: ghcr.io/${{ github.repository }}
- type: standalone
dockerfile: Dockerfile.standalone
image: ghcr.io/${{ github.repository }}-standalone
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -26,7 +17,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ matrix.image }}
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand All @@ -51,13 +42,13 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ${{ matrix.dockerfile }}
file: Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
build-args: |
BUILD_FROM=${{ matrix.type == 'hass' && 'ghcr.io/hassio-addons/debian-base/amd64:7.3.1' || '' }}
BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:7.3.1
create-release:
needs: docker
Expand Down
36 changes: 0 additions & 36 deletions Dockerfile.hass

This file was deleted.

27 changes: 0 additions & 27 deletions Dockerfile.standalone

This file was deleted.

6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ For local development:
2. Install dependencies with `npm install`.
3. Run the server with `npm start`.

## Building

To build the Docker images:

1. For a normal Docker image: `docker build -t geodnet-headless-console-api .`
2. For a Home Assistant addon: `docker build -t geodnet-headless-console-api-hass -f Dockerfile.hass .`

## Contributing

Expand Down

0 comments on commit eabfa74

Please sign in to comment.