From 9c054d11744f7386a8b02a08c5325ec5729e25cc Mon Sep 17 00:00:00 2001 From: Stephen Beckstrom-Sternberg Date: Mon, 30 Oct 2023 14:53:35 -0700 Subject: [PATCH] Map secrets for docker login --- .github/workflows/docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e7052d0..d65bc6b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,6 +6,12 @@ on: [push] steps: - uses: actions/checkout@v2 + - name: docker login + - env: + DOCKER_USER: ${{secrets.DOCKER_USER}} + DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} + - run: | + docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - name: docker build HeatCluster - run: | docker build ./python3 DrB-S/HeatCluster:0.4.11