Skip to content

Commit

Permalink
ci: trying again for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
aviemet committed Oct 9, 2023
1 parent 27cbed0 commit b256201
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",
"license": "MIT",
"private": true,
Expand Down

0 comments on commit b256201

Please sign in to comment.