Skip to content

Commit

Permalink
Merge pull request #43 from neonlabsorg/fix-org-name
Browse files Browse the repository at this point in the history
fix org name
  • Loading branch information
kristinaNikolaevaa authored Sep 18, 2024
2 parents 315eb81 + 8607eba commit d6cd5eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
workflow_dispatch:
env:
IMAGE_NAME: neonlabsorg/uniswap-v2-core
IMAGE_NAME: ${{ vars.DOCKERHUB_ORG_NAME }}/uniswap-v2-core
jobs:
dockerize:
runs-on: ubuntu-20.04
Expand All @@ -27,4 +27,4 @@ jobs:
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p "${{ secrets.DOCKER_PASSWORD }}"
echo "Push image $IMAGE_NAME:${{ steps.define-env.outputs.tag }} to Docker registry"
docker push --all-tags $IMAGE_NAME
docker push --all-tags $IMAGE_NAME
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM ubuntu:20.04

RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt -y install \
software-properties-common git npm curl && \
npm install -g yarn waffle && \
rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y curl software-properties-common git npm
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
RUN npm install -g yarn waffle
RUN rm -rf /var/lib/apt/lists/*

COPY . /opt
WORKDIR /opt

RUN yarn && yarn compile

0 comments on commit d6cd5eb

Please sign in to comment.