Skip to content

Commit

Permalink
Log in action
Browse files Browse the repository at this point in the history
  • Loading branch information
AndWeHaveAPlan committed Oct 22, 2024
1 parent 977c98b commit e3aa539
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/actions/build-push-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ runs:
--format=docker
${{ inputs.build-opts }}
- name: Log in
uses: redhat-actions/podman-login@v1
with:
username: ${{ inputs.registry-user }}
password: ${{ inputs.registry-password }}
registry: "docker.io"

- name: push
id: push-image
if: ${{ inputs.push }}
Expand All @@ -58,8 +65,6 @@ runs:
image: ${{ inputs.image-name }}
tags: ${{ steps.build-image.outputs.tags }}
registry: ${{ inputs.registry }}
username: ${{ inputs.registry-user }}
password: ${{ inputs.registry-password }}

- name: Print image url
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion ci-unified/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ RUN cargo install subkey
# contracts ci
# Download the latest `substrate-contracts-node` binary
RUN curl -L -o substrate-contracts-node-linux.tar.gz 'https://github.com/paritytech/substrate-contracts-node/releases/latest/download/substrate-contracts-node-linux.tar.gz' && \
tar -xvzf substrate-contracts-node.tar.gz && \
tar -xvzf substrate-contracts-node-linux.tar.gz && \
mv artifacts/substrate-contracts-node-linux/substrate-contracts-node /usr/local/cargo/bin/substrate-contracts-node && \
rm -r artifacts substrate-contracts-node.zip && \
chmod +x /usr/local/cargo/bin/substrate-contracts-node
Expand Down

0 comments on commit e3aa539

Please sign in to comment.