change set-output to GITHUB_OUTPUT env variable, update actions/cache
This commit is contained in:
parent
11e1e0b169
commit
b3fec78940
|
@ -28,7 +28,7 @@ jobs:
|
|||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-10
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
- name: Get docker tag for Alpine image
|
||||
id: alpine
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.10 alpine
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
- name: Get docker tag for Ubuntu image
|
||||
id: ubuntu
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile.focal)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.10/Dockerfile.focal)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.10 ubuntu
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -93,7 +93,7 @@ jobs:
|
|||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-9
|
||||
|
@ -105,7 +105,7 @@ jobs:
|
|||
- name: Get docker tag for Alpine image
|
||||
id: alpine
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.9 alpine
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -122,7 +122,7 @@ jobs:
|
|||
- name: Get docker tag for Ubuntu image
|
||||
id: ubuntu
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile.focal)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.9/Dockerfile.focal)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.9 ubuntu
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -158,7 +158,7 @@ jobs:
|
|||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-8
|
||||
|
@ -170,7 +170,7 @@ jobs:
|
|||
- name: Get docker tag for Alpine image
|
||||
id: alpine
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.8 alpine
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -187,7 +187,7 @@ jobs:
|
|||
- name: Get docker tag for Ubuntu image
|
||||
id: ubuntu
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile.focal)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.8/Dockerfile.focal)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.8 ubuntu
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -223,7 +223,7 @@ jobs:
|
|||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-7
|
||||
|
@ -235,7 +235,7 @@ jobs:
|
|||
- name: Get docker tag for Alpine image
|
||||
id: alpine
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN 2.7 alpine
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -252,7 +252,7 @@ jobs:
|
|||
- name: Get docker tag for Ubuntu image
|
||||
id: ubuntu
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile.focal)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/ckan/2.7/Dockerfile.focal)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build CKAN 2.7 ubuntu
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -288,7 +288,7 @@ jobs:
|
|||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/.buildx-cache-datapusher
|
||||
key: ${{ runner.os }}-buildx-datapusher-${{ github.sha }}
|
||||
|
@ -298,7 +298,7 @@ jobs:
|
|||
- name: Get docker tag for datapusher image
|
||||
id: datapusher
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/datapusher/Dockerfile)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/datapusher/Dockerfile)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push CKAN datapusher
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -334,7 +334,7 @@ jobs:
|
|||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/.buildx-cache-psql-init
|
||||
key: ${{ runner.os }}-buildx-psql-init-${{ github.sha }}
|
||||
|
@ -344,7 +344,7 @@ jobs:
|
|||
- name: Get docker tag for psql-init image
|
||||
id: psql-init
|
||||
run: |
|
||||
echo "::set-output name=IMAGE_TAG::$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/psql-init/Dockerfile)"
|
||||
echo "IMAGE_TAG=$(awk -F '=' '/IMAGE_TAG/{print $2}' ./images/psql-init/Dockerfile)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push psql-init
|
||||
uses: docker/build-push-action@v5
|
||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-10
|
||||
|
@ -66,7 +66,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-9
|
||||
|
@ -116,7 +116,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-8
|
||||
|
@ -164,7 +164,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache-alpine-2-7
|
||||
|
@ -212,7 +212,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/.buildx-cache-datapusher
|
||||
key: ${{ runner.os }}-buildx-datapusher-${{ github.sha }}
|
||||
|
@ -243,7 +243,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/.buildx-cache-psql-init
|
||||
key: ${{ runner.os }}-buildx-psql-init-${{ github.sha }}
|
||||
|
|
Loading…
Reference in New Issue