Skip to content

Commit

Permalink
bump clean-containers to v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
csc-felipe committed Aug 8, 2024
1 parent 1185074 commit a1e68e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/clean-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Delete 'PR' containers older than a week
uses: snok/container-retention-policy@v2.2.1
uses: snok/container-retention-policy@v3.0.0
with:
image-names: ${{ env.REGISTRY }}/${{ env.REPO }}
filter-tags: sha-*,sha256:*
skip-tags: latest
cut-off: A week ago UTC
account-type: org
org-name: ${{ github.repository_owner }}
keep-at-least: 1
token: ${{ secrets.GH_REPO_TOKEN }}
image-names: ${{ env.REPO }}
image-tags: "sha-* sha256:* !latest"
cut-off: 1w
account: ${{ github.repository_owner }}
keep-n-most-recent: 1
token: ${{ secrets.GITHUB_TOKEN }}
timestamp-to-use: updated_at
6 changes: 3 additions & 3 deletions scripts/keystone-swift.http
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@keystone = http://localhost:5000
@username = swift
@password = veryfast
@project = service
@project = b769b1918c8e4eabaf2198ccda2eda13

@authToken = {{unscopedToken.response.headers.X-Subject-Token}}
@authTokenScoped = {{tokenScoped.response.headers.X-Subject-Token}}
Expand Down Expand Up @@ -52,7 +52,7 @@ content-type: application/json
},
"scope": {
"project": {
"name": "{{project}}",
"id": "{{project}}",
"domain": { "id": "default" }
}
}
Expand All @@ -74,7 +74,7 @@ content-type: application/json
},
"scope": {
"project": {
"name": "{{project}}",
"id": "{{project}}",
"domain": { "id": "default" }
}
}
Expand Down

0 comments on commit a1e68e4

Please sign in to comment.