|
@@ -15,7 +15,7 @@ jobs:
|
|
|
- name: Checkout
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v3
|
|
uses: actions/checkout@v3
|
|
|
- name: Setup docker
|
|
- name: Setup docker
|
|
|
- uses: docker/login-action@v1
|
|
|
|
|
|
|
+ uses: docker/login-action@v2
|
|
|
with:
|
|
with:
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
@@ -234,7 +234,7 @@ jobs:
|
|
|
unzip ./release/UNSIGNED_portersvr_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip
|
|
unzip ./release/UNSIGNED_portersvr_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip
|
|
|
unzip ./release/UNSIGNED_docker-credential-porter_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip
|
|
unzip ./release/UNSIGNED_docker-credential-porter_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip
|
|
|
- name: Import Code-Signing Certificates
|
|
- name: Import Code-Signing Certificates
|
|
|
- uses: Apple-Actions/import-codesign-certs@v1
|
|
|
|
|
|
|
+ uses: Apple-Actions/import-codesign-certs@v2
|
|
|
with:
|
|
with:
|
|
|
# The certificates in a PKCS12 file encoded as a base64 string
|
|
# The certificates in a PKCS12 file encoded as a base64 string
|
|
|
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
|
|
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
|
|
@@ -339,12 +339,11 @@ jobs:
|
|
|
path: release/darwin
|
|
path: release/darwin
|
|
|
- name: Create Release
|
|
- name: Create Release
|
|
|
id: create_release
|
|
id: create_release
|
|
|
- uses: actions/create-release@v1
|
|
|
|
|
- env:
|
|
|
|
|
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
+ uses: softprops/action-gh-release@v1
|
|
|
with:
|
|
with:
|
|
|
tag_name: ${{ github.ref }}
|
|
tag_name: ${{ github.ref }}
|
|
|
- release_name: Release ${{ github.ref }}
|
|
|
|
|
|
|
+ name: Release ${{ github.ref }}
|
|
|
|
|
+ token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
draft: false
|
|
draft: false
|
|
|
prerelease: true
|
|
prerelease: true
|
|
|
- name: Upload Linux CLI Release Asset
|
|
- name: Upload Linux CLI Release Asset
|