mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 06:35:40 +03:00
Update docker-image.yml
This commit is contained in:
parent
2de02850e3
commit
cbd4955e7d
12
.github/workflows/docker-image.yml
vendored
12
.github/workflows/docker-image.yml
vendored
@ -5,12 +5,14 @@ env:
|
|||||||
IMAGE_NAME: image
|
IMAGE_NAME: image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- '*'
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
pull_request:
|
push:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- 'master'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@ -23,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Log into registry
|
- name: Log into registry
|
||||||
#echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
|
#echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
|
||||||
run: echo "$DOCKER_SERVER_KEY" | docker login -u "$DOCKER_SERVER_LOGIN" --password-stdin
|
run: echo "${{ secrets.$DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.$DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||||
|
|
||||||
- name: Build Zabbix Agent
|
- name: Build Zabbix Agent
|
||||||
run: docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent
|
run: docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent
|
||||||
|
Loading…
Reference in New Issue
Block a user