diff --git a/.github/workflows/branch-cleanup.yml b/.github/workflows/branch-cleanup.yml index 3b2fc24..8e9f985 100644 --- a/.github/workflows/branch-cleanup.yml +++ b/.github/workflows/branch-cleanup.yml @@ -1,4 +1,4 @@ -name: Clean up feature branch +name: Delete container image on: delete: @@ -13,7 +13,7 @@ jobs: id: version-tag run: echo "VERSION=$(echo "${{ github.event.ref }}" | sed -e 's,/,-,g')" >> "$GITHUB_OUTPUT" - name: Debug - run: echo "Clean up Docker image v${{ steps.version-tag.outputs.VERSION }}" + run: echo "Delete container image ${{ steps.version-tag.outputs.VERSION }}" - name: Delete image if: ${{ steps.version-tag.outputs.VERSION }} uses: bots-house/ghcr-delete-image-action@v1.1.0 diff --git a/.github/workflows/remove-untagged.yml b/.github/workflows/remove-untagged.yml index 0a60f63..16512ca 100644 --- a/.github/workflows/remove-untagged.yml +++ b/.github/workflows/remove-untagged.yml @@ -12,5 +12,5 @@ jobs: - name: Remove untagged Docker images uses: nationalarchives/ds-docker-actions/.github/actions/remove-untagged@main with: - docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }} + docker-image-name: example-flask-application github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docker-compose.yml b/docker-compose.yml index 63d3574..c8fd90b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,6 @@ services: - 81:8080 volumes: - ./:/app - dev: image: ghcr.io/nationalarchives/tna-python-dev:latest volumes: