Skip to content

Commit

Permalink
enhancement(lint): Fix lint errors for .github/workflows/docker-build…
Browse files Browse the repository at this point in the history
….yml

Co-authored-by: NeonGamerBot-QK <[email protected]>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
  • Loading branch information
zeon-neon[bot] and NeonGamerBot-QK authored Sep 7, 2024
1 parent ac358c6 commit 18f763f
Showing 1 changed file with 22 additions and 22 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 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
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

0 comments on commit 18f763f

Please sign in to comment.