Skip to content

Commit

Permalink
More workflow debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Louven committed Aug 10, 2021
1 parent f847acc commit c43cdf8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ name: CI

on:
push:
branches: ['feature/ci']
tags:
- 'v*'

env:
REGISTRY: ghcr.io
Expand All @@ -21,14 +22,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
Expand All @@ -42,6 +35,12 @@ jobs:
with:
images: ghcr.io/${{ env.IMAGE_NAME }}

- name: Test
run: |
echo ${{ github.event.release.tag_name }}
echo ${{ github.ref }}
echo ${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
Expand Down

0 comments on commit c43cdf8

Please sign in to comment.