Skip to content

Commit

Permalink
fix: Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hokhacminhtri committed Aug 1, 2024
1 parent a415763 commit a81ed57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
6 changes: 0 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,3 @@ ELASTICSEARCH_XPACK_SECURITY_ENABLED=false
ELASTICSEARCH_JAVA_OPTS="-Xms512m -Xmx512m"
ELASTICSEARCH_HTTP_PORT=9200
ELASTICSEARCH_TRANSPORT_PORT=9300

## DOCKER
DOCKER_ID=
IMAGE_NAME=
DOCKER_USERNAME=
DOCKER_PASSWORD=
11 changes: 3 additions & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@ name: Publish Docker image

on: [ push, pull_request ]

env:
DOCKER_ID: ${{ secrets.DOCKER_ID }}
IMAGE_NAME: ${{ secrets.IMAGE_NAME }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
cp .env.example .env

- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
run: |
cp .env.example .env

0 comments on commit a81ed57

Please sign in to comment.