Skip to content

Commit

Permalink
Merge pull request #6 from flownative/task/update-build-actions
Browse files Browse the repository at this point in the history
Update build actions
  • Loading branch information
kdambekalns authored Feb 22, 2023
2 parents 1dd92a0 + 6486594 commit 53e9753
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker.build.composer-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
user: [ "composer", "root" ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'main'
fetch-depth: 100
Expand All @@ -31,7 +31,7 @@ jobs:
- run: |
sudo chmod -R ugo+rwX . && shopt -s dotglob && rm -rf *
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ steps.latest_version.outputs.tag }}
fetch-depth: 100
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
flavor: |
latest=false
Expand All @@ -68,12 +68,12 @@ jobs:
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand All @@ -82,7 +82,7 @@ jobs:
password: ${{ secrets.DOCKER_IO_REGISTRY_PASSWORD }}

- name: Login to Google Artifacts Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: europe-docker.pkg.dev/flownative/docker
username: '_json_key'
Expand All @@ -97,7 +97,7 @@ jobs:
echo "USER ${{ matrix.user }}" >> Dockerfile
- name: Build Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docker.build.composer-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
user: [ "composer", "root" ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'main'
fetch-depth: 100
Expand All @@ -31,7 +31,7 @@ jobs:
- run: |
sudo chmod -R ugo+rwX . && shopt -s dotglob && rm -rf *
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ steps.latest_version.outputs.tag }}
fetch-depth: 100
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
flavor: |
latest=false
Expand All @@ -68,21 +68,21 @@ jobs:
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_IO_REGISTRY_USER }}
password: ${{ secrets.DOCKER_IO_REGISTRY_PASSWORD }}

- name: Login to Google Artifacts Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: europe-docker.pkg.dev/flownative/docker
username: '_json_key'
Expand All @@ -97,7 +97,7 @@ jobs:
echo "USER ${{ matrix.user }}" >> Dockerfile
- name: Build Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down

0 comments on commit 53e9753

Please sign in to comment.