Skip to content

Commit de5fa29

Browse files
Update ee.yml
1 parent 9a1278b commit de5fa29

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/ee.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
steps:
8383
# checkout tag for releae otherwise checkout branch
8484
- name: check out code
85-
uses: actions/checkout@v4
85+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
8686
with:
8787
# if tag is empty; github.ref else tag.outputs.name
8888
ref: ${{ needs.prepare.outputs.name == '' && github.ref || needs.prepare.outputs.name }}
@@ -92,13 +92,13 @@ jobs:
9292
uses: ./.github/actions/discover_python_version
9393

9494
- name: install Python
95-
uses: actions/setup-python@v4
95+
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
9696
with:
9797
python-version: ${{ steps.pyversion.outputs.pyversion }}
9898
cache: pip
9999

100100
- name: install Poetry
101-
uses: Gr1N/setup-poetry@v8
101+
uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8
102102
with:
103103
poetry-version: "1.8.5"
104104

@@ -109,13 +109,13 @@ jobs:
109109
poetry install --with ansible-ee --without dev --no-root
110110
111111
- name: set up Docker Buildx
112-
uses: docker/setup-buildx-action@v3
112+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
113113

114114
# produce docker tags for semver if on a tag, otherwise take ref branch name
115115
# latest tag is only produced for semver operating on a tag
116116
- name: determine docker tags and labels
117117
id: meta
118-
uses: docker/metadata-action@v5
118+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5
119119
with:
120120
context: git # git - this ensures to reference the current git context instead of workflow context (context info ref/sha)
121121
images: ghcr.io/paloaltonetworks/pan-os-ansible
@@ -245,14 +245,14 @@ jobs:
245245
cat ./context/Dockerfile
246246
247247
- name: login to GHCR
248-
uses: docker/login-action@v3
248+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3
249249
with:
250250
registry: ghcr.io
251251
username: ${{ github.actor }}
252252
password: ${{ secrets.GITHUB_TOKEN }}
253253

254254
- name: build and publish
255-
uses: docker/build-push-action@v5
255+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
256256
with:
257257
context: "./context/"
258258
push: true
@@ -274,7 +274,7 @@ jobs:
274274
steps:
275275
# checkout tag for releae otherwise checkout branch
276276
- name: check out code
277-
uses: actions/checkout@v4
277+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
278278
with:
279279
# if tag is empty; github.ref else tag.outputs.name
280280
ref: ${{ needs.prepare.outputs.name == '' && github.ref || needs.prepare.outputs.name }}
@@ -284,13 +284,13 @@ jobs:
284284
uses: ./.github/actions/discover_python_version
285285

286286
- name: install Python
287-
uses: actions/setup-python@v4
287+
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
288288
with:
289289
python-version: ${{ steps.pyversion.outputs.pyversion }}
290290
cache: pip
291291

292292
- name: install Poetry
293-
uses: Gr1N/setup-poetry@v8
293+
uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8
294294
with:
295295
poetry-version: "1.8.5"
296296

@@ -301,13 +301,13 @@ jobs:
301301
poetry install --with ansible-ee --without dev --no-root
302302
303303
- name: set up Docker Buildx
304-
uses: docker/setup-buildx-action@v3
304+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
305305

306306
# produce docker tags for semver if on a tag, otherwise take ref branch name
307307
# latest tag is only produced for semver operating on a tag
308308
- name: determine docker tags and labels
309309
id: meta
310-
uses: docker/metadata-action@v5
310+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5
311311
with: # labels and annotations are overwritten for image.title information
312312
context: git # git - this ensures to reference the current git context instead of workflow context (context info ref/sha)
313313
images: ghcr.io/paloaltonetworks/pan-os-ansible-rhel9
@@ -421,21 +421,21 @@ jobs:
421421
cat ./context/Dockerfile
422422
423423
- name: login to GHCR
424-
uses: docker/login-action@v3
424+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3
425425
with:
426426
registry: ghcr.io
427427
username: ${{ github.actor }}
428428
password: ${{ secrets.GITHUB_TOKEN }}
429429

430430
- name: login to registry.redhat.io
431-
uses: docker/login-action@v3
431+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3
432432
with:
433433
registry: registry.redhat.io
434434
username: ${{ secrets.RH_REGISTRY_USER }}
435435
password: ${{ secrets.RH_REGISTRY_TOKEN }}
436436

437437
- name: build and publish
438-
uses: docker/build-push-action@v5
438+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
439439
with:
440440
context: "./context/"
441441
push: true

0 commit comments

Comments
 (0)