Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix the tag released from the container action #51

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Test RIT Action
id: test-rit-action
uses: ./container-action/
uses: ./
with:
rskj-branch: master
powpeg-node-branch: master
Expand All @@ -110,18 +110,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
if: github.ref == 'refs/heads/main'
permissions:
contents: write
packages: write

steps:
- name: Checkout
id: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Create GitHub Release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: rootstock-integration-tests@v1
release_name: Release rootstock-integration-tests@v1
draft: false
prerelease: false
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish new version
run: |
git config --global user.email "[email protected]"
git config --global user.name "RIT Release Automation"
git tag -fa v1 -m "Updating rootstock-integration-tests container action v1"
git push origin v1 --force
2 changes: 1 addition & 1 deletion container-action/action.yml → action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ outputs:

runs:
using: docker
image: Dockerfile
image: ./container-action/Dockerfile
env:
INPUT_RSKJ_BRANCH: ${{ inputs.rskj-branch }}
INPUT_POWPEG_NODE_BRANCH: ${{ inputs.powpeg-node-branch }}
Expand Down
2 changes: 1 addition & 1 deletion container-action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The output message of the integration tests. It will be:
## Example usage

```yaml
uses: rootstock-integration-tests@v1
uses: rsksmart/rootstock-integration-tests@v1
with:
rskj-branch: master
powpeg-node-branch: master
Expand Down
Loading