Browse Source

build: update docker GH action to use latest docker action versions

pull/3308/head
deadprogram 2 years ago
committed by Ron Evans
parent
commit
6e503f5ab9
  1. 10
      .github/workflows/docker.yml

10
.github/workflows/docker.yml

@ -24,10 +24,10 @@ jobs:
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: |
tinygo/tinygo-dev
@ -36,18 +36,18 @@ jobs:
type=sha,format=long
type=raw,value=latest
- name: Log in to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Log in to Github Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
push: true

Loading…
Cancel
Save