Skip to content

Commit

Permalink
fix: no more ci
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGamerBot-QK authored Sep 7, 2024
1 parent d695933 commit 1b7affa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: publish
on:
push:
branches:
- "master"
workflow_dispatch:

jobs:
publish-hello-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.MY_TOKEN }}
- name: Build the Docker image
run: |
docker build . --tag ghcr.io/neongamerbot-qk/crc:latest
docker push ghcr.io/neongamerbot-qk/crc:latest
name: publish docker
on:
push:
branches:
- "main"
workflow_dispatch:

jobs:
publish-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.MY_TOKEN }}
- name: Build the Docker image
run: |
docker build . --tag ghcr.io/neongamerbot-qk/crc:latest
docker push ghcr.io/neongamerbot-qk/crc:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY package*.json /app
LABEL org.opencontainers.image.source https://github.com/NeonGamerBot-QK/crc
# RUN npm install
# If you are building your code for production
RUN npm ci --omit=dev
RUN npm install --omit=dev
COPY . /app
EXPOSE 3000
RUN npm run build
Expand Down

0 comments on commit 1b7affa

Please sign in to comment.