Skip to content

Commit 963314c

Browse files
committed
SEBSERV-919 removed single host build and nadim docker namespace push
1 parent 049e776 commit 963314c

1 file changed

Lines changed: 0 additions & 45 deletions

File tree

.github/workflows/docker-build-push.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -29,54 +29,9 @@ jobs:
2929
chmod +x ./hulud/shai-hulud-detector.sh
3030
./hulud/shai-hulud-detector.sh ./seb
3131
32-
build-and-push:
33-
needs: shai-hulud-detector
34-
runs-on: ubuntu-latest
35-
strategy:
36-
matrix:
37-
tag_suffix: ["", "-single-host"]
38-
include:
39-
- tag_suffix: ""
40-
path_name: ""
41-
- tag_suffix: "-single-host"
42-
path_name: "/seb-server-gui"
43-
44-
steps:
45-
- name: Set env for dynamic tag
46-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
47-
run: echo "TAG_NAME=${GITHUB_REF#refs/*/}${{ matrix.tag_suffix }}" >> $GITHUB_ENV
48-
49-
- name: Set env manual
50-
if: github.event_name == 'workflow_dispatch'
51-
run: echo "TAG_NAME=default_version${{ matrix.tag_suffix }}" >> $GITHUB_ENV
52-
53-
- name: Checkout code
54-
uses: actions/checkout@v6.0.2
55-
56-
- name: Login to DockerHub
57-
uses: docker/login-action@v4.1.0
58-
with:
59-
username: naritter
60-
password: ${{ secrets.DOCKERHUB_PASSWORD}}
61-
62-
- name: Build and push Docker image
63-
uses: docker/build-push-action@v7.1.0
64-
with:
65-
context: .
66-
push: true
67-
tags: docker.io/naritter/seb-server-gui:${{ env.TAG_NAME }}
68-
6932
build-and-push-admin:
7033
needs: shai-hulud-detector
7134
runs-on: ubuntu-latest
72-
strategy:
73-
matrix:
74-
tag_suffix: ["", "-single-host"]
75-
include:
76-
- tag_suffix: ""
77-
path_name: ""
78-
- tag_suffix: "-single-host"
79-
path_name: "/seb-server-gui"
8035

8136
steps:
8237
- name: Set env for dynamic tag

0 commit comments

Comments
 (0)