Skip to content

Commit

Permalink
GitHub Container Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
sam bacha authored Feb 17, 2021
1 parent 9fb1195 commit 50c9ade
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/container-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# dockerimage buildx
# continuous-deployment.yml
#

# ghcr.io/contractshark/inject-solhint-ci:latest
name: container-ci

on: ['push']
Expand Down Expand Up @@ -54,8 +51,8 @@ jobs:
- name: Push to GitHub Packages
uses: docker/build-push-action@v2
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
registry: docker.pkg.github.com
repository: contractshark/inject-solhint-ci/action
repository: contractshark/inject-solhint-ci:latest
tag_with_ref: true
4 changes: 2 additions & 2 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
buildx:
runs-on: ubuntu-latest

steps:
steps:
- uses: actions/checkout@v2
name: Checkout

Expand All @@ -16,4 +16,4 @@ jobs:
install: true
- name: Docker BuildX
run: |
docker build . --file Dockerfile --tag solhint-ci:$(date +%s)
docker build . --file Dockerfile --tag solhint-ci:$(date +%s)
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM node:14.15-alpine3.13

LABEL Description="SolHint CI" Vendor="Contract Shark" Version="1.0"


ENV REVIEWDOG_VERSION=v0.11.0

RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}
Expand All @@ -9,4 +12,4 @@ RUN apk --update add jq curl git && \

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 50c9ade

Please sign in to comment.