diff --git a/.github/actions/build-push-image/action.yml b/.github/actions/build-push-image/action.yml index c82361c..7d22fb8 100644 --- a/.github/actions/build-push-image/action.yml +++ b/.github/actions/build-push-image/action.yml @@ -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 }} @@ -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 diff --git a/ci-unified/Dockerfile b/ci-unified/Dockerfile index 528c6c4..69f5e57 100644 --- a/ci-unified/Dockerfile +++ b/ci-unified/Dockerfile @@ -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