Skip to content

Commit

Permalink
Update Docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Aug 12, 2024
1 parent 3038fda commit 360ffe5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ 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 example-fastapi-application:${{ steps.version-tag.outputs.VERSION }}"
run: echo "Clean up Docker image ${{ vars.DOCKER_IMAGE_NAME }}:${{ steps.version-tag.outputs.VERSION }}"
- name: Delete image
if: ${{ steps.version-tag.outputs.VERSION }}
uses: bots-house/[email protected]
with:
owner: ${{ github.repository_owner }}
name: example-fastapi-application
name: ${{ vars.DOCKER_IMAGE_NAME }}
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.version-tag.outputs.VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
version: ${{ needs.version.outputs.version }}
latest: ${{ github.ref == 'refs/heads/main' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
docker-image-name: example-fastapi-application
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }}
2 changes: 1 addition & 1 deletion .github/workflows/remove-untagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- name: Remove untagged Docker images
uses: nationalarchives/ds-docker-actions/.github/actions/remove-untagged@main
with:
docker-image-name: example-fastapi-application
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }}
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 360ffe5

Please sign in to comment.