|
@@ -13,6 +13,10 @@ on:
|
|
|
required: true
|
|
|
type: string
|
|
|
|
|
|
+env:
|
|
|
+ DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
|
|
|
+ DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
+
|
|
|
jobs:
|
|
|
build:
|
|
|
name: Build ${{ inputs.arch_label }}
|
|
@@ -25,8 +29,8 @@ jobs:
|
|
|
- name: Login to Docker Hub
|
|
|
uses: docker/login-action@v2
|
|
|
with:
|
|
|
- username: ${{ secrets.DOCKERHUB_USER }}
|
|
|
- password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
+ username: ${{ env.DOCKERHUB_USER }}
|
|
|
+ password: ${{ env.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
- name: Extract metadata (tags, labels) for Docker
|
|
|
id: meta
|