From f464a629368cfa3cb1c4123f1094a0a75b8c5c03 Mon Sep 17 00:00:00 2001 From: jarochi Date: Fri, 26 Jan 2024 15:28:06 +0100 Subject: [PATCH] test7 --- .github/workflows/workflows.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index 62330f8..bf1d536 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -1,18 +1,22 @@ name: publish on: [push] jobs: - publish-test-docker-image: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Login to GitHub Container Registry - 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: | +publish-test-docker-image: +runs-on: ubuntu-latest +steps: +- name: Create a Release + id: create_release + uses: actions/create-release@v1 + env: GITHUB_TOKEN: ${{ github.token }} +- name: Login to GitHub Container Registry +- uses: actions/checkout@v4 +uses: docker/login-action@v1 +with: +registry: ghcr.io +username: ${{ github.actor }} +password: ${{ secrets.GITHUB_TOKEN }} +- 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