diff --git a/.github/workflows/docker-main-images.yml b/.github/workflows/docker-main-images.yml index 3c7b74854..39c84ebba 100644 --- a/.github/workflows/docker-main-images.yml +++ b/.github/workflows/docker-main-images.yml @@ -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