File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 2626 uses : docker/setup-qemu-action@v1.1.0
2727 -
2828 name : Set up Docker Buildx
29- uses : docker/setup-buildx-action@v1
29+ uses : docker/setup-buildx-action@v1.3.0
3030 -
3131 name : Cache Docker layers
3232 uses : actions/cache@v2.1.5
3737 ${{ runner.os }}-buildx-
3838 -
3939 name : Login to GitHub Container Registry
40- uses : docker/login-action@v1.9.0
40+ uses : docker/login-action@v1.9.0
41+ if : github.event_name != 'pull_request'
4142 with :
4243 registry : ghcr.io
4344 username : ${{ github.repository_owner }}
Original file line number Diff line number Diff line change 1313 - name : Checkout
1414 uses : actions/checkout@v2.3.4
1515 - name : lint
16- uses : luke142367/Docker-Lint-Action @v1.1.1
16+ uses : hadolint/hadolint-action @v1.5.0
1717 with :
18- target : Dockerfile
19- env :
20- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+ dockerfile : Dockerfile
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ FROM nginx:1-alpine
1616LABEL org.opencontainers.image.source="https://github.com/wbstack/queryservice-ui"
1717
1818
19- ADD ./docker/default.conf /etc/nginx/conf.d/default.conf
19+ COPY ./docker/default.conf /etc/nginx/conf.d/default.conf
2020COPY --from=builder --chown=nginx:nginx /src/app/build /usr/share/nginx/html
You can’t perform that action at this time.
0 commit comments