feat: upgrade docker actions

This commit is contained in:
diced 2022-10-28 20:53:13 -07:00
parent 451027eaf3
commit e78d2d79d0
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1
2 changed files with 7 additions and 7 deletions

View file

@ -27,21 +27,21 @@ jobs:
cmd: 'jq .version package.json -r' cmd: 'jq .version package.json -r'
- name: Setup QEMU - name: Setup QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to Github Packages - name: Login to Github Packages
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Image - name: Build Docker Image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64

View file

@ -26,14 +26,14 @@ jobs:
cmd: 'jq .version package.json -r' cmd: 'jq .version package.json -r'
- name: Setup QEMU - name: Setup QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to Github Packages - name: Login to Github Packages
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}