|
|
@@ -18,18 +18,18 @@ jobs:
|
|
|
uses: actions/checkout@v2
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
if: github.event_name != 'pull_request'
|
|
|
- uses: docker/login-action@v1
|
|
|
+ uses: docker/login-action@v2
|
|
|
with:
|
|
|
registry: ${{ env.REGISTRY }}
|
|
|
username: ${{ github.actor }}
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- name: Extract Container metadata
|
|
|
id: meta
|
|
|
- uses: docker/metadata-action@v3
|
|
|
+ uses: docker/metadata-action@v4
|
|
|
with:
|
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
|
- name: Build and push Ubuntu 18.04 Container image
|
|
|
- uses: docker/build-push-action@v2
|
|
|
+ uses: docker/build-push-action@v3
|
|
|
with:
|
|
|
build-args: |
|
|
|
UBUNTU_RELEASE=18.04
|
|
|
@@ -47,18 +47,18 @@ jobs:
|
|
|
uses: actions/checkout@v2
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
if: github.event_name != 'pull_request'
|
|
|
- uses: docker/login-action@v1
|
|
|
+ uses: docker/login-action@v2
|
|
|
with:
|
|
|
registry: ${{ env.REGISTRY }}
|
|
|
username: ${{ github.actor }}
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- name: Extract Container metadata
|
|
|
id: meta
|
|
|
- uses: docker/metadata-action@v3
|
|
|
+ uses: docker/metadata-action@v4
|
|
|
with:
|
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
|
- name: Build and push Ubuntu 20.04 Container image
|
|
|
- uses: docker/build-push-action@v2
|
|
|
+ uses: docker/build-push-action@v3
|
|
|
with:
|
|
|
build-args: |
|
|
|
UBUNTU_RELEASE=20.04
|