diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 60e6399..2b7806c 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -10,11 +10,9 @@ on: jobs: build-and-push: if: | - github.repository == 'SmartDCSITlimited/test-harness' + github.repository == 'xtuml/erebus' && github.actor != 'dependabot[bot]' runs-on: ubuntu-latest - env: - SSH_AUTH_SOCK: $SSH_AUTH_SOCK steps: - name: Checkout code uses: actions/checkout@v4 @@ -26,23 +24,16 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Install ssh-agent - uses: webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: ${{ secrets.TEST_EVENT_GENERATOR_DEPLOY_KEY }} - - name: Docker meta id: meta uses: docker/metadata-action@v5 with: - images: ghcr.io/SmartDCSITlimited/test-harness + images: ghcr.io/xtuml/erebus - name: Build and push uses: docker/build-push-action@v5 with: context: . - ssh: | - default push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file