@@ -25,7 +25,7 @@ jobs:
|
||||
cat action.yml
|
||||
|
||||
- name: Get sample PKGBUILD
|
||||
run: wget https://github.com/hapakaien/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD
|
||||
run: wget https://github.com/${{ github.repository_owner }}/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD
|
||||
|
||||
- name: Running test
|
||||
uses: ./
|
||||
@@ -101,17 +101,17 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get sample PKGBUILD
|
||||
run: wget https://github.com/hapakaien/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD
|
||||
run: wget https://github.com/${{ github.repository_owner }}/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD
|
||||
|
||||
- name: Update action.yml to use edge tagged container image
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
REPOSITORY_OWNER=${{ github.repository_owner }}
|
||||
REPOSITORY_OWNER=$(echo $REPOSITORY_OWNER | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
|
||||
REPOSITORY_NAME=${{ github.event.repository.name }}
|
||||
REPOSITORY_NAME=$(echo $REPOSITORY_NAME | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
|
||||
sed -i "s/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${REPOSITORY_OWNER}\/${REPOSITORY_NAME}\:edge\"/" action.yml
|
||||
cat action.yml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user