Skip to content

Commit

Permalink
Test Gitlab Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Louven committed Aug 10, 2021
1 parent 79a077f commit 011876b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CI

on:
push:
branches: ['release']
branches: ['feature/ci']

env:
REGISTRY: ghcr.io
Expand All @@ -21,6 +21,14 @@ 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 @@ -38,6 +46,6 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 011876b

Please sign in to comment.