diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7af0cc6..28df18a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,21 +4,20 @@ on: workflow_dispatch: push: tags: - - "v*.*.*" + - 'v*.*.*' jobs: docker: runs-on: ubuntu-latest steps: - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + - uses: actions/checkout@v3 + - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-buildx-action@v2 with: install: true - name: Docker Labels id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v4 with: images: cupcakearmy/cryptgeon tags: | @@ -26,12 +25,12 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: platforms: linux/amd64,linux/arm64 push: true diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ff1fe16..1298d27 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: - node-version-file: '.nvmrc' + node-version-file: '.nvmrc' - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 @@ -29,7 +29,7 @@ jobs: - name: Run your tests run: npm test - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: test-results path: test-results