diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5149fd2..8ea1765 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aca36d..5da11ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Can't pull docker image + ## [2.2.0] - 2022-08-05 ### Added diff --git a/README.md b/README.md index 56b396f..5fd1ece 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Arch Linux's package tools action -[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/hapakaien/archlinux-package-action/CI?label=CI&style=flat-square)](https://github.com/hapakaien/archlinux-package-action/actions) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/hapakaien/archlinux-package-action?style=flat-square)](https://github.com/hapakaien/archlinux-package-action/releases) [![GitHub](https://img.shields.io/github/license/hapakaien/archlinux-package-action?style=flat-square)](./LICENSE) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/heyhusen/archlinux-package-action/main.yml?label=CI&style=flat-square)](https://github.com/heyhusen/archlinux-package-action/actions) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/heyhusen/archlinux-package-action?style=flat-square)](https://github.com/heyhusen/archlinux-package-action/releases) [![GitHub](https://img.shields.io/github/license/heyhusen/archlinux-package-action?style=flat-square)](./LICENSE) This action allows running tools needed for creating Arch Linux (and AUR) package. Here's what this action can do: @@ -54,7 +54,7 @@ jobs: uses: actions/checkout@v2 - name: Validate package - uses: hapakaien/archlinux-package-action@v2 + uses: heyhusen/archlinux-package-action@v2 ``` #### 2. Only generate .SRCINFO @@ -74,7 +74,7 @@ jobs: uses: actions/checkout@v2 - name: Validate package - uses: hapakaien/archlinux-package-action@v2 + uses: heyhusen/archlinux-package-action@v2 with: flags: '' namcap: false @@ -98,7 +98,7 @@ jobs: uses: actions/checkout@v2 - name: Validate package - uses: hapakaien/archlinux-package-action@v2 + uses: heyhusen/archlinux-package-action@v2 with: flags: '' namcap: false @@ -122,7 +122,7 @@ jobs: uses: actions/checkout@v2 - name: Validate package - uses: hapakaien/archlinux-package-action@v2 + uses: heyhusen/archlinux-package-action@v2 with: path: package flags: '-si --noconfirm' diff --git a/action.yml b/action.yml index b6f1a02..a479ba6 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ # https://help.github.com/en/articles/metadata-syntax-for-github-actions name: "Arch Linux's package action" description: "GitHub Action to run Arch Linux's package tools" -author: 'hapakaien' +author: 'heyhusen' branding: icon: 'package' color: 'blue' @@ -46,7 +46,7 @@ inputs: runs: using: 'docker' - image: 'docker://ghcr.io/hapakaien/archlinux-package-action:2' + image: 'docker://ghcr.io/heyhusen/archlinux-package-action:2' args: - ${{ inputs.path }} - ${{ inputs.pkgver }}