Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Bump actions/checkout from 3 to 4 #1485

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #1485

Workflow file for this run

name: Compiler_Docker
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Build docker
run: docker build -f Dockerfile.compiler --tag ink-compiler .
- name: Login to DockerHub
if: github.ref == 'refs/heads/main' && github.repository == 'paritytech/ink-playground'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER_NAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Tag Docker image
if: github.ref == 'refs/heads/main' && github.repository == 'paritytech/ink-playground'
run: docker tag ink-compiler:latest ${{ secrets.DOCKER_USER_NAME }}/ink-compiler
- name: Push Docker image
if: github.ref == 'refs/heads/main' && github.repository == 'paritytech/ink-playground'
run: docker push ${{ secrets.DOCKER_USER_NAME }}/ink-compiler