|
@@ -760,50 +760,50 @@ jobs:
|
|
|
run: |
|
|
|
echo ${{ steps.docker_build_tinyfec.outputs.digest }}
|
|
|
|
|
|
- build-encrypted-dns:
|
|
|
- needs: build-basic
|
|
|
- runs-on: ubuntu-latest
|
|
|
- steps:
|
|
|
- - name: Check Out Repo
|
|
|
- uses: actions/checkout@v2
|
|
|
-
|
|
|
- - name: Set up Docker Buildx
|
|
|
- id: buildx
|
|
|
- uses: docker/setup-buildx-action@v1
|
|
|
-
|
|
|
- - name: Cache Docker layers
|
|
|
- uses: actions/cache@v2
|
|
|
- with:
|
|
|
- path: /tmp/.buildx-cache
|
|
|
- key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
- restore-keys: |
|
|
|
- ${{ runner.os }}-buildx-
|
|
|
-
|
|
|
- - name: Login to Docker Hub
|
|
|
- uses: docker/login-action@v1
|
|
|
- with:
|
|
|
- username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
- password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
-
|
|
|
- - name: Build encrypted-dns and push
|
|
|
- id: docker_build_encrypted_dns
|
|
|
- uses: docker/build-push-action@v2
|
|
|
- with:
|
|
|
- context: ./encrypted-dns
|
|
|
- file: ./encrypted-dns/Dockerfile
|
|
|
- push: true
|
|
|
- tags: |
|
|
|
- ${{ secrets.DOCKER_HUB_USERNAME }}/encrypted-dns:latest
|
|
|
- ${{ secrets.DOCKER_HUB_USERNAME }}/encrypted-dns:0.9.1
|
|
|
- builder: ${{ steps.buildx.outputs.name }}
|
|
|
- cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
- cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
-
|
|
|
- - name: Move cache
|
|
|
- run: |
|
|
|
- rm -rf /tmp/.buildx-cache
|
|
|
- mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
-
|
|
|
- - name: Image digest
|
|
|
- run: |
|
|
|
- echo ${{ steps.docker_build_encrypted_dns.outputs.digest }}
|
|
|
+ # build-encrypted-dns:
|
|
|
+ # needs: build-basic
|
|
|
+ # runs-on: ubuntu-latest
|
|
|
+ # steps:
|
|
|
+ # - name: Check Out Repo
|
|
|
+ # uses: actions/checkout@v2
|
|
|
+
|
|
|
+ # - name: Set up Docker Buildx
|
|
|
+ # id: buildx
|
|
|
+ # uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ # - name: Cache Docker layers
|
|
|
+ # uses: actions/cache@v2
|
|
|
+ # with:
|
|
|
+ # path: /tmp/.buildx-cache
|
|
|
+ # key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ # restore-keys: |
|
|
|
+ # ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ # - name: Login to Docker Hub
|
|
|
+ # uses: docker/login-action@v1
|
|
|
+ # with:
|
|
|
+ # username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ # password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
+ # - name: Build encrypted-dns and push
|
|
|
+ # id: docker_build_encrypted_dns
|
|
|
+ # uses: docker/build-push-action@v2
|
|
|
+ # with:
|
|
|
+ # context: ./encrypted-dns
|
|
|
+ # file: ./encrypted-dns/Dockerfile
|
|
|
+ # push: true
|
|
|
+ # tags: |
|
|
|
+ # ${{ secrets.DOCKER_HUB_USERNAME }}/encrypted-dns:latest
|
|
|
+ # ${{ secrets.DOCKER_HUB_USERNAME }}/encrypted-dns:0.9.1
|
|
|
+ # builder: ${{ steps.buildx.outputs.name }}
|
|
|
+ # cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
+ # cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
+
|
|
|
+ # - name: Move cache
|
|
|
+ # run: |
|
|
|
+ # rm -rf /tmp/.buildx-cache
|
|
|
+ # mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ # - name: Image digest
|
|
|
+ # run: |
|
|
|
+ # echo ${{ steps.docker_build_encrypted_dns.outputs.digest }}
|