mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-24 20:48:18 +03:00
Update docker-main-images.yml
This commit is contained in:
parent
2b6b72b807
commit
d90956b590
19
.github/workflows/docker-main-images.yml
vendored
19
.github/workflows/docker-main-images.yml
vendored
@ -14,28 +14,17 @@ on:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
login:
|
||||
build1:
|
||||
name: Forked and fixed images
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Log into registry
|
||||
#echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
|
||||
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: login
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
||||
- name: Build Zabbix Agent
|
||||
run: docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent
|
||||
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: Push Zabbix Agent
|
||||
run: docker push epicmorg/zabbix-agent:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user