File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11# Github Workflow to build container image
2- #
2+ #
33# SPDX-FileCopyrightText: 2021 Sebastian Waldbauer
44# SPDX-License-Identifier: AGPL-3.0-or-later
55#
1717 runs-on : ubuntu-latest
1818
1919 steps :
20+ - name : Check if environment is ACT
21+ run : sudo chown runner:docker /var/run/docker.sock
22+ if : ${{ env.ACT }}
23+
2024 - name : Checkout IntelMQ-Docker
2125 uses : actions/checkout@v2
2226 with :
5761
5862 - name : Login to DockerHub
5963 uses : docker/login-action@v1
60- if : github.repository == 'certtools/intelmq'
64+ if : github.repository == 'certtools/intelmq' && !${{ env.ACT }}
6165 with :
6266 username : ${{ secrets.DOCKERHUB_USERNAME }}
6367 password : ${{ secrets.DOCKERHUB_TOKEN }}
7781 ./test.sh
7882
7983 - name : Publish develop version to dockerhub
80- if : github.repository == 'certtools/intelmq'
84+ if : github.repository == 'certtools/intelmq' && !${{ env.ACT }}
8185 run : |
8286 docker tag intelmq-full:latest certat/intelmq-full:develop
8387 docker push certat/intelmq-full:develop
Original file line number Diff line number Diff line change 99* . * ~
1010* .mmdb
1111* .profile
12+ .vscode /
1213.profile
1314intelmq.egg-info
1415build
@@ -23,6 +24,7 @@ htmlcov/
2324* .key
2425src /
2526.eggs
27+ .secrets
2628
2729# sphinx
2830docs /source
You can’t perform that action at this time.
0 commit comments