diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index c82e345..ebdf024 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -10,8 +10,11 @@ env: jobs: release-base-image: runs-on: ubuntu-latest + environment: release env: IMAGE_NAME: "concordium/base" + DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}} + DOCKERHUB_TOKEN: ${{secrets.DOCKERHUB_TOKEN}} steps: - name: Check if image exist @@ -22,9 +25,13 @@ jobs: if [ exitcode -eq "1" ]; then echo "Error: ${{env.IMAGE_NAME}}:rust${{env.RUST_VERSION}}-ghc${{env.GHC_VERSION}} already exist" fi - - name: Login to docker - run: | -# echo ${{env.PASS}} | docker login --username ${{env.USERNAME}} --password-stdin + +# - name: Login to Docker Hub +# uses: docker/login-action@v3 +# with: +# username: ${{ env.DOCKERHUB_USERNAME }} +# password: ${{ env.DOCKERHUB_TOKEN }} + - name: Clone repo uses: actions/checkout@v4 with: