Skip to content

Commit

Permalink
lowercase, disable master and release
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaGuerra committed Sep 18, 2023
1 parent dc3891f commit bdc950b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Plugins-dev

on:
push:
branches: [ master ]
branches: [ not-master ]
workflow_dispatch:

# Checks if any concurrent jobs is already being executed for master and cancel it.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags:
# All tags
- '**'
- 'not-release-**'

# Checks if any concurrent jobs is running for release CI and eventually cancel it.
concurrency:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/upload-oci-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,16 @@ jobs:
working-directory: build/registry
run: make

- name: Get lowercase owner
run: |
REPOSITORY_OWNER="${{ github.repository_owner }}"
echo "REPOSITORY_OWNER=${REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
- name: Upload OCI artifacts to GitHub packages
id: oci_build
env:
REGISTRY: ghcr.io
REGISTRY_USER: ${{ github.repository_owner }}
REGISTRY_USER: ${{ env.REPOSITORY_OWNER }}
REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_GITHUB: https://github.com/${{ github.repository_owner }}/plugins.git
working-directory: build/registry
Expand Down

0 comments on commit bdc950b

Please sign in to comment.