Skip to content

Commit

Permalink
Merge pull request #6 from stuartmaxwell/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmaxwell authored Apr 25, 2024
2 parents c00b1b4 + edad762 commit 081327b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN_GITHUB }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:latest

- name: Trigger Rundeck
- name: Send POST request to Portainer webhook
run: |
curl --request POST ${{ secrets.RUNDECK_WEBHOOK_URL }} --header 'Authorization: ${{ secrets.RUNDECK_WEBHOOK_TOKEN }}'
curl --fail --retry 3 --max-time 10 -X POST "${{ secrets.PORTAINER_WEBHOOK }}" || exit 1
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: "3.8"

services:
app:
env_file: .env
image: ghcr.io/stuartmaxwell/stuartmnz:latest
entrypoint: /app/entrypoint.sh
restart: always
Expand Down

0 comments on commit 081327b

Please sign in to comment.