File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ paths-ignore :
5+ - " README.md"
6+ - " LICENSE"
7+ pull_request :
8+
9+ env :
10+ DOCKER_BUILDKIT : 1
11+ DOCKER_REPO_TAG : " ${{ github.repository }}:${{ github.sha }}"
12+
13+ jobs :
14+
15+ validate :
16+ runs-on : ubuntu-latest
17+ steps :
18+
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : docker build
23+ uses : docker/build-push-action@v4
24+ with :
25+ context : src
26+ file : ./Dockerfile
27+ push : false
28+ tags : ${{ env.DOCKER_REPO_TAG }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ARG ARG_UBUNTU_BASE_IMAGE_TAG="20.04"
33FROM ubuntu:${ARG_UBUNTU_BASE_IMAGE_TAG}
44WORKDIR /azp
55ENV TARGETARCH=linux-x64
6- ENV VSTS_AGENT_VERSION=3.248 .0
6+ ENV VSTS_AGENT_VERSION=4.251 .0
77
88
99# To make it easier for build and release pipelines to run apt-get,
You can’t perform that action at this time.
0 commit comments