Skip to content

Commit

Permalink
[ci] Make publish docker action more secure (#1525)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam authored Mar 7, 2024
1 parent a96e8b2 commit 077b36e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release-verifiable-image
on:
push:
branches:
- 'master'
- "master"
release:
types:
- edited
Expand All @@ -15,6 +15,7 @@ jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
environment: master_and_tags
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -58,4 +59,3 @@ jobs:
CARGO_CONTRACT_GIT=https://github.com/paritytech/cargo-contract
CARGO_CONTRACT_TAG=${{ github.event.release.tag_name }}
tags: ${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}

0 comments on commit 077b36e

Please sign in to comment.