diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1d078325..39af8b3c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,5 +34,5 @@ jobs: - name: Push Docker Image to GitHub Packages run: | - docker tag your-image-name:tag ghcr.io/${{ github.repository_owner }}/your-image-name:tag - docker push ghcr.io/${{ github.repository_owner }}/your-image-name:tag + docker tag inventory:tag ghcr.io/${{ github.repository_owner }}/inventory:tag + docker push ghcr.io/${{ github.repository_owner }}/inventory:tag diff --git a/Dockerfile b/Dockerfile index d57552d3a..460fca3d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ADD . /inventory WORKDIR /inventory # Install basic packages -RUN apt update && apt install -y build-essential libvips postgresql-client ca-certificates curl gnupg +RUN apt-get update && apt-get install -y build-essential libvips postgresql-client ca-certificates curl gnupg # Install Node RUN mkdir -p /etc/apt/keyrings @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y nodejs RUN npm i -g yarn && yarn set version stable # Clean up apt -RUN apt clean && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man +RUN apt-get clean && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man # Rails app lives here WORKDIR /inventory diff --git a/package.json b/package.json index 6e824c0b9..a68961c5a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "inventory", "version": "0.1.0", "main": "index.js", - "repository": "https://github.com/aviemet/icr.git", + "repository": "https://github.com/aviemet/inventory.git", "author": "Avram Walden ", "license": "MIT", "private": true,