Skip to content

Update docker-image.yml #1

Update docker-image.yml

Update docker-image.yml #1

Workflow file for this run

name: Docker image build
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag linuxserver/code-server:latest
- name: Save Docker image as artifact
run: |
docker save -o code-server.rar linuxserver/code-server:latest
- name: Upload Docker image artifact
uses: actions/upload-artifact@v2
with:
name: docker-image
path: code-server.rar