diff --git a/.github/workflows/docker_push.yaml b/.github/workflows/docker_push.yaml index b00a534..c6a82af 100644 --- a/.github/workflows/docker_push.yaml +++ b/.github/workflows/docker_push.yaml @@ -18,4 +18,7 @@ jobs: - run: docker build --build-arg VCS_REF=$(git rev-parse --short HEAD) -t ${OWNER}/${IMAGE_NAME}:latest . - run: docker tag ${OWNER}/${IMAGE_NAME}:latest ${OWNER}/${IMAGE_NAME}:${GIT_TAG} - run: docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} + env: + DOCKER_USER: ${{ secrets.SYNCED_DOCKER_USER }} + DOCKER_PASS: ${{ secrets.SYNCED_DOCKER_PASS }} - run: docker push ${OWNER}/${IMAGE_NAME} diff --git a/README.md b/README.md index 2f4d322..6bddb99 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![CircleCI](https://circleci.com/gh/guitarrapc/docker-aws-cli.svg?style=svg)](https://circleci.com/gh/guitarrapc/docker-aws-cli) [![hub](https://img.shields.io/docker/pulls/guitarrapc/docker-awscli-kubectl.svg)](https://hub.docker.com/r/guitarrapc/docker-awscli-kubectl/) +![Docker Build](https://github.com/guitarrapc/docker-aws-cli/workflows/Docker%20Build/badge.svg) ![Docker Push](https://github.com/guitarrapc/docker-aws-cli/workflows/Docker%20Push/badge.svg) [![hub](https://img.shields.io/docker/pulls/guitarrapc/docker-awscli-kubectl.svg)](https://hub.docker.com/r/guitarrapc/docker-awscli-kubectl/) ## Builder docker image