From 4a05796d9ba1ad2c461741ce86a4e8147879aea5 Mon Sep 17 00:00:00 2001 From: jarochi Date: Fri, 26 Jan 2024 15:12:24 +0100 Subject: [PATCH] test6 --- .github/workflows/github-actions-demo.yml | 1 + .github/workflows/workflows.yml | 19 +++++++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index 15a61d6..220700a 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -8,6 +8,7 @@ jobs: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - run: echo "login ${{ github.repository_owner, cr ${{ secrets.CR_PAT }}, ${{ github.actor }} ${{ secrets.GITHUB_TOKEN }} }}" - name: Check out repository code uses: actions/checkout@v4 - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index 815c4ff..62330f8 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -6,14 +6,13 @@ jobs: steps: - uses: actions/checkout@v4 - name: Login to GitHub Container Registry - - run: echo "login ${{ github.repository_owner, cr ${{ secrets.CR_PAT }}, ${{ github.actor }} ${{ secrets.GITHUB_TOKEN }} }}" uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.CR_PAT }} - - name: Build the test-docker Docker image - run: | - docker build . --tag ghcr.io/BioGenies/imputomics:docker_test - docker run ghcr.io/BioGenies/imputomics:docker_test - docker push ghcr.io/BioGenies/imputomics:docker_test + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.CR_PAT }} + - name: Build the test-docker Docker image + run: | + docker build . --tag ghcr.io/BioGenies/imputomics:docker_test + docker run ghcr.io/BioGenies/imputomics:docker_test + docker push ghcr.io/BioGenies/imputomics:docker_test