diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b49762e..41cb9e13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,22 +8,14 @@ on: permissions: contents: read + packages: write jobs: - test-rit-docker: + build-push-rit-action-image: name: Test RIT Action docker image runs-on: ubuntu-latest timeout-minutes: 60 - services: - registry: - image: registry:2 - ports: - - 5001:5000 - - env: - TEST_TAG: localhost:5001/actions/container-action:latest - steps: - name: Checkout id: checkout @@ -33,7 +25,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.GHCR_REPO }} + images: ${{ github.event.repository.name }}/rit-action - name: Setup Docker BuildX id: setup-buildx @@ -71,6 +63,7 @@ jobs: --rm ${{ env.TEST_TAG }} test-rit-action: + needs: build-push-rit-action-image name: GitHub Actions Test runs-on: ubuntu-latest timeout-minutes: 60 diff --git a/.gitignore b/.gitignore index af2e55a2..00497431 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ config/*.js logs .env .DS_Store -.idea/ \ No newline at end of file +.idea/ +.secrets \ No newline at end of file