Skip to content

Commit

Permalink
chore: fixed nightly docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elraro committed Dec 29, 2023
1 parent 05e766f commit bb9e4be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
'name': 'Node.js CI',
'name': 'CI',
'on': ['push', 'pull_request'],
'jobs':
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nightly Docker build
name: Nightly build Docker
on:
workflow_dispatch: null
schedule:
Expand Down Expand Up @@ -55,16 +55,6 @@ jobs:
"BUILD_FROM=${{ matrix.build_from }}"
"PKG_TARGET=${{ matrix.pkg_target }}"
"PKG_OPTIONS=${{ matrix.pkg_options }}"
- name: Test
shell: '/bin/bash {0}'
run: |
docker run --rm ${{ env.REGISTRY }}/congatudo/congatudo-nightly:${{ matrix.image_name }}-latest
ret=$?
if [ $ret -eq 1 ]; then
exit 0
else
exit $ret
fi
- name: Push
run: |
docker push ${{ env.REGISTRY }}/congatudo/congatudo-nightly:${{ matrix.image_name }}-latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
'name': 'Release',
'name': 'Release build',
'on': { 'release': { 'types': ['released'] } },
'jobs':
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker build
name: Docker Release build
on:
workflow_dispatch:
release:
Expand Down

0 comments on commit bb9e4be

Please sign in to comment.